Регистрация Войти
Войти через VK Войти через FB Войти через Google Войти через Яндекс
Войти через VK Войти через FB Войти через Google Войти через Яндекс
Поиск по сайту
Наш чат в Telegram для обмена идеями, проектами, мыслями, людьми в сфере ИТ г.Ростова-на-Дону: @it_rostov
lcfirst
(PHP 5 >= 5.3.0)
lcfirst — Make a string's first character lowercase
Описание
string lcfirst ( string $str ) Returns a string with the first character of strNote that 'alphabetic' is determined by the current locale. For instance, in the default "C" locale characters such as umlaut-a () will not be converted.
Параметры
str Return Values
Returns the resulting string.
ExamplesПример использования lcfirst()
$foo = 'HelloWorld';
$foo = lcfirst($foo); // helloWorld
$bar = 'HELLO WORLD!';
$bar = lcfirst($bar); // hELLO WORLD!
$bar = lcfirst(strtoupper($bar)); // hELLO WORLD!
Смотрите также:
ucfirst(),
strtolower(),
strtoupper(),
ucwords(),
levenshtein,
join.
Все функции строкиОписание на ru2.php.net
Описание на php.ru