Commit 61a96f03 authored by legenerationlazi's avatar legenerationlazi

--no commit message

--no commit message
parent 68de3e82
<?php ?>
* The //CONCAT// function returns a string that is a concatenation of its arguments. In the example above we * The //CONCAT// function returns a string that is a concatenation of its arguments. In the example above we
map the concatenation of users firstname and lastname to a value called name map the concatenation of users firstname and lastname to a value called name
...@@ -14,7 +12,8 @@ foreach(\$users as \$user) { ...@@ -14,7 +12,8 @@ foreach(\$users as \$user) {
// its a mapped function value // its a mapped function value
print \$user->name; print \$user->name;
} }
?></code> ?>
</code>
...@@ -32,7 +31,8 @@ The //SUBSTRING// function returns a string. ...@@ -32,7 +31,8 @@ The //SUBSTRING// function returns a string.
foreach(\$users as \$user) { foreach(\$users as \$user) {
print \$user->name; print \$user->name;
} }
?></code> ?>
</code>
...@@ -51,7 +51,8 @@ not provided, BOTH is assumed. The //TRIM// function returns the trimmed string. ...@@ -51,7 +51,8 @@ not provided, BOTH is assumed. The //TRIM// function returns the trimmed string.
foreach(\$users as \$user) { foreach(\$users as \$user) {
print \$user->name; print \$user->name;
} }
?></code> ?>
</code>
* The //LOWER// and //UPPER// functions convert a string to lower and upper case, respectively. They return a * The //LOWER// and //UPPER// functions convert a string to lower and upper case, respectively. They return a
...@@ -67,11 +68,11 @@ string. ...@@ -67,11 +68,11 @@ string.
foreach(\$users as \$user) { foreach(\$users as \$user) {
print \$user->name; print \$user->name;
} }
?></code> ?>
</code>
* * The //LOCATE// function returns the position of a given string within a string, starting the search at a specified
The //LOCATE// function returns the position of a given string within a string, starting the search at a specified
position. It returns the first position at which the string was found as an integer. The first argument position. It returns the first position at which the string was found as an integer. The first argument
is the string to be located; the second argument is the string to be searched; the optional third argument is the string to be located; the second argument is the string to be searched; the optional third argument
is an integer that represents the string position at which the search is started (by default, the beginning of is an integer that represents the string position at which the search is started (by default, the beginning of
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment