SAPO::Utility.String->ucFirst
This method will lowercase the entire string and upercase the first letter of each word.
This is static method.
Syntax
SAPO.Utility.String.ucFirst(string)
Compatibility
| All browsers | Yes |
Depends
Input Parameters
- (string) string : Input string
Sample
http://js.sapo.pt/SAPO/Utility/String/sample/
Example
alert(SAPO.Utility.String.ucFirst('hello HERE I aM'));
Community feedback