ToLower
string ToLower( string text, string lang = false );characters
The function converts the characters of the original string to lowercase. In addition to other alphabet characters, this function correctly converts Cyrillic characters to lowercase.
Note. This function can be used when the standard PHP function strtolower cannot convert Cyrillic characters. Sometimes it takes place on some hostings.
Function parameters
Parameter | Description | Available from version |
---|---|---|
text | Source string. | |
lang | language ID. |
See Also
Examples of use
<? $lower = ToLower("ABCDEF"); echo "Lower register: ".$lower; // prints "Lower register: abcdef" ?>
© «Bitrix24», 2001-2024