• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
wait, nevermind
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

wait, nevermind


  • Subject: wait, nevermind
  • From: "Robert A. Decker" <email@hidden>
  • Date: Wed, 22 Oct 2003 15:06:34 -0700 (PDT)

I guess it probably doesn't get any simpler or efficient than:
    static public String capitalizeFirstLetter (String value) {
        String firstLetter = value.substring(0,1).toUpperCase();
        String restLetters = value.substring(1);
        return firstLetter + restLetters;
    }


thanks,
Robert A. Decker

http://www.robdecker.com/
_______________________________________________
webobjects-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/webobjects-dev
Do not post admin requests to the list. They will be ignored.

  • Follow-Ups:
    • Re: wait, nevermind
      • From: petite_abeille <email@hidden>
  • Prev by Date: Re: Giving validation warnings
  • Next by Date: WebObjects and Search Speed
  • Previous by thread: Re: capitalizeFirstLetter ?
  • Next by thread: Re: wait, nevermind
  • Index(es):
    • Date
    • Thread