mb_ucfirst
- Синтаксис
-
native mb_ucfirst(string[], maxlength = 0);
Переменная | Описание |
---|---|
string |
The string to convert. |
maxlength |
Optional size of the buffer. If 0, the length of the original string will be used instead. |
- Описание
- Performs a multi-byte safe (UTF-8) conversion of a string's first character to upper case.
- Пометка
-
Although most code points can be converted in-place, there are notable exceptions and the final length can vary.
- Возвращает
- Number of bytes written.