Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.java.programmer > #7691

Re: capitalize problem

From Arved Sandstrom <asandstrom3minus1@eastlink.ca>
Newsgroups comp.lang.java.programmer
Subject Re: capitalize problem
References <ed168428-59df-49f7-aebc-71d9fbc7fe24@4g2000vbn.googlegroups.com>
Message-ID <wkU9q.5446$sX1.2510@newsfe06.iad> (permalink)
Organization Public Usenet Newsgroup Access
Date 2011-09-07 21:51 -0300

Show all headers | View raw


On 11-09-07 09:21 PM, bob wrote:
> What's the easiest way to capitalize the first letter of every word in
> a string and lowercase the rest?

There will be lots of possibilities here. :-) Being lazy, I offer up

WordUtils.capitalizeFully(string)

from Apache Commons Lang.

AHS

Back to comp.lang.java.programmer | Previous | NextPrevious in thread | Next in thread | Find similar


Thread

capitalize problem bob <bob@coolgroups.com> - 2011-09-07 17:21 -0700
  Re: capitalize problem Arved Sandstrom <asandstrom3minus1@eastlink.ca> - 2011-09-07 21:51 -0300
    Re: capitalize problem bob <bob@coolgroups.com> - 2011-09-07 18:44 -0700
  Re: capitalize problem Eric Sosman <esosman@ieee-dot-org.invalid> - 2011-09-07 21:51 -0400
  Re: capitalize problem Roedy Green <see_website@mindprod.com.invalid> - 2011-09-07 21:26 -0700

csiph-web