
Click above to get retro games delivered to your door ever month!
X-Hacker.org- FUNCky - <b>name:</b> <b>capfirst() - capitalize first character, lowercase rest</b>
[<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
Name: capfirst() - capitalize first character, lowercase rest
Usage: <string> = capfirst(<string>)
Params: string <string> - the string to capitalize
Returns: a string with the first character of each word
capitalized, and all the rest lowercase
---------------------------------- Example ---------------------------------
? capfirst("this is a sTRING")
* prints "This Is A String"
See Also: capitalize() bitstrip() _upper() _lower()
Online resources provided by: http://www.X-Hacker.org --- NG 2 HTML conversion by Dave Pearson