capitalization

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
User avatar
pleigh
Forum Contributor
Posts: 445
Joined: Wed Jan 19, 2005 4:26 am

capitalization

Post 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
User avatar
Chris Corbyn
Breakbeat Nuttzer
Posts: 13098
Joined: Wed Mar 24, 2004 7:57 am
Location: Melbourne, Australia

Post by Chris Corbyn »

strtoupper(), ucfirst() [strtolower(), ucwords()....blah blah]

Please search PHP.net for functions first ;-)

Search for "String functions"
Last edited by Chris Corbyn on Tue Feb 15, 2005 2:20 am, edited 1 time in total.
User avatar
n00b Saibot
DevNet Resident
Posts: 1452
Joined: Fri Dec 24, 2004 2:59 am
Location: Lucknow, UP, India
Contact:

Post 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:
User avatar
n00b Saibot
DevNet Resident
Posts: 1452
Joined: Fri Dec 24, 2004 2:59 am
Location: Lucknow, UP, India
Contact:

Post by n00b Saibot »

beaten by a minute :( :lol:
User avatar
pleigh
Forum Contributor
Posts: 445
Joined: Wed Jan 19, 2005 4:26 am

Post by pleigh »

thanks guys... :) :wink:
Post Reply