#1
  1. No Profile Picture
    Junior Member
    Devshed Newbie (0 - 499 posts)

    Join Date
    Sep 2000
    Location
    india
    Posts
    0
    Rep Power
    0
    Hi,

    I want to know, how to make
    (1) initial letter of string to upper case.
    (2) full string to upper case.

    thanks,
    saravanan
  2. #2
  3. No Profile Picture
    Contributing User
    Devshed Novice (500 - 999 posts)

    Join Date
    Jul 2000
    Posts
    669
    Rep Power
    15
    Make the first letter of the word upper
    ucfirst($string);

    Make the first letter of each word in a string upper case
    ucwords($string);

    Make the whole string uppercase
    strtoupper($string);
  4. #3
  5. No Profile Picture
    Junior Member
    Devshed Newbie (0 - 499 posts)

    Join Date
    Sep 2000
    Location
    india
    Posts
    0
    Rep Power
    0
    Hi Freddy,

    Thanks for the help. It is working .

    thanks,
    saravanan

Similar Threads

  1. array explode ( string separator, string string [, int limit])
    By beemee_freeserv in forum HTML Programming
    Replies: 4
    Last Post: February 5th, 2004, 11:56 AM
  2. mgetty+sendfax on RH9
    By ayrin in forum Linux Help
    Replies: 0
    Last Post: January 31st, 2004, 03:11 AM
  3. Problems with my first DLL
    By lloydie-t in forum Delphi Programming
    Replies: 2
    Last Post: December 7th, 2003, 02:48 PM
  4. Advice on reversing order of characters within a string?
    By FriscoKid in forum C Programming
    Replies: 5
    Last Post: November 13th, 2003, 09:13 AM
  5. error in returned object
    By davidl in forum Java Help
    Replies: 6
    Last Post: October 9th, 2003, 05:34 PM

IMN logo majestic logo threadwatch logo seochat tools logo