Bitrix Site Manager

ToLower

string
ToLower(
  string text
)

The function ToLower converts the symbols of the original string to lowercase. In addition to other alphabet symbols, this function correctly converts Cyrillic symbols to lowercase.

Note
This function can be used when the standard PHP function strtolower cannot convert Cyrillic symbols. Sometimes it takes place on some hostings.

Parameters

ParameterDescription
text Source string.

See Also

Example



<?
$lower = ToLower("АБВГД ABCDEF");
echo "Lower case: ".$lower;
// prints "Lower case: абвгд abcdef"
?>