String manipulation using jakarta.commons.lang
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