string ToUpper( string text )
The function ToUpper converts symbols of the original string to uppercase. In addition to symbols of other charsets , this function correctly converts Cyrillic symbols to uppercase.
Note
This function can be used when the standard PHP
function strtoupper cannot convert Cyrillic symbols. Sometimes it takes
place on some hostings.
Parameter | Description |
---|---|
text | Source string. |
<? $upper = ToUpper("абвгд abcdef"); echo "Upper case: ".$upper; // prints "Upper case: АБВГД ABCDEF" ?>
© 2001-2005 Bitrix | Bitrix Site Manager - Content Management & Portal Solutions |