• 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
String manipulation using jakarta.commons.lang
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

String manipulation using jakarta.commons.lang


  • Subject: String manipulation using jakarta.commons.lang
  • From: Dev WO <email@hidden>
  • Date: Sat, 2 Jul 2005 10:21:44 +0200

Hi,
following M. Teran's advice, I took some time to check jakarta.commons.lang to manipulate Strings.
I'm trying to use capitalizeFully with delimiters, but when I follow the syntax provided in the API documentation, I got an "illegal start of expression"...
Here's what I've tried:
WordUtils.capitalizeFully(aString, {'-'})
WordUtils.capitalizeFully(aString, new char[-])


If I use this syntax:
WordUtils.capitalizeFully(aString, null)
It worked and capitalize after every whitespace, but I also need after '-' so I just can't figure out...


I probably miss something obvious but I don't see it;)

Thanks

Xavier


_______________________________________________ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list (email@hidden) Help/Unsubscribe/Update your Subscription: This email sent to email@hidden
  • Prev by Date: Re: "There is already a unique instance for Bundle named 'JavaFoundation'."
  • Next by Date: JDBC in WO
  • Previous by thread: Re: "There is already a unique instance for Bundle named 'JavaFoundation'."
  • Next by thread: Re: String manipulation using jakarta.commons.lang [SOLVED]
  • Index(es):
    • Date
    • Thread