Page 1 of 1

capitalization

Posted: Tue Feb 15, 2005 2:09 am
by pleigh
hi there

is there any function to capitalize a given word?or capitalize only the first letter of a word or name....

thanks

pleigh

Posted: Tue Feb 15, 2005 2:16 am
by Chris Corbyn
strtoupper(), ucfirst() [strtolower(), ucwords()....blah blah]

Please search PHP.net for functions first ;-)

Search for "String functions"

Posted: Tue Feb 15, 2005 2:17 am
by n00b Saibot
dont you have a manual...
i dunno how you are programming then :lol: :lol:
1> ucfirst()
2> ucwords()
3> strtoupper
like in a post 'feyd' wrote:search, damnit
:lol: :lol: :lol:

Posted: Tue Feb 15, 2005 2:19 am
by n00b Saibot
beaten by a minute :( :lol:

Posted: Tue Feb 15, 2005 2:28 am
by pleigh
thanks guys... :) :wink: