mb_lcfirst

(PHP 8 >= 8.4.0)

mb_lcfirstMake a string's first character lowercase

Опис

mb_lcfirst(string $string, string $encoding = null): string

Performs a multi-byte safe lcfirst() operation, and returns a string with the first character of string lowercased.

Параметри

string
The input string.
encoding
The string encoding.

Значення, що повертаються

Returns the resulting string.

Прогляньте також

  • mb_ucfirst() - Make a string's first character uppercase
  • lcfirst() - Make a string's first character lowercase
add a note

User Contributed Notes

There are no user contributed notes for this page.
To Top