API17:JString::ucfirst
From Joomla! Documentation
This Namespace has been archived - Please Do Not Edit or Create Pages in this namespace. Pages contain information for a Joomla! version which is no longer supported. It exists only as a historical reference, will not be improved and its content may be incomplete.
JString::ucfirst
Description
UTF-8 aware alternative to ucfirst Make a string's first character uppercase.
Description:JString::ucfirst [Edit Descripton]
Synopsis
public static JString::ucfirst ($str)
| Parameter | Type | Default | Description |
|---|---|---|---|
| $str | string |
Returns
string with first character as upper case (if applicable)
Defined in
libraries/joomla/utilities/string.php (line 491)
- see source code in BitBucket
Referenced by
See also
Examples
<CodeExamplesForm />
