diff --git a/functions/strings.xml b/functions/strings.xml
index eda334f820..c6355d2b97 100644
--- a/functions/strings.xml
+++ b/functions/strings.xml
@@ -1858,6 +1858,7 @@ echo str_repeat("-=", 10);
$str = "Mary Had A Little Lamb and She LOVED It So";
$str = strtolower($str);
print $str; # Prints mary had a little lamb and she loved it so
+
See also strtoupper
and ucfirst.
@@ -1883,6 +1884,13 @@ echo str_repeat("-=", 10);
Note that 'alphabetic' is determined by the current locale. For
instance, in the default "C" locale characters such as umlaut-a
(ä) will not be converted.
+
+ strtoupper example
+
+ $str = "Mary Had A Little Lamb and She LOVED It So";
+ $str = strtoupper($str);
+ print $str; # Prints MARY HAD A LITTLE LAMB AND SHE LOVED IT SO
+
See also strtolower
and ucfirst.
@@ -2165,7 +2173,8 @@ echo substr_replace( $var, '', 10, -1 ) . "<br>\n";
This function strips whitespace from the start and the end of a
- string and returns the stripped string.
+ string and returns the stripped string. The whitespace characters it currently
+ strips are: "\n", "\r", "\t", "\v", "\0", and " ".
See also chop and
ltrim.