Re: TitleCasing a String - probably a java question
Re: TitleCasing a String - probably a java question
- Subject: Re: TitleCasing a String - probably a java question
- From: Geoff Hopson <email@hidden>
- Date: Tue, 6 Jan 2004 08:33:16 +0000
Never used it, but this is lurking in the WebObjects libraries...
http://developer.apple.com/documentation/WebObjects/Reference/API/com/
webobjects/directtoweb/Services.html
Guess you just do:
String capitalizedString = Services.capitalize(oldString);
Let me know how it goes...
GEoff
On 6 Jan 2004, at 07:48, Jonathan Fleming wrote:
What's the best way to go about making a String TitleCase eg. turning:
"commited to the future of webObjects" into "Commited To The Future Of
WebObjects".
I can't seen to find a Webobjects utility or method that does this.
TIA
Jonathan :^)
_________________________________________________________________
Tired of 56k? Get a FREE BT Broadband connection
http://www.msn.co.uk/specials/btbroadband
_______________________________________________
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.
--
Geoff Hopson
Objectology Ltd.
http://www.objectology.co.uk/
_______________________________________________
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.