Skip to Main Content

SQL & PL/SQL

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

initcap problem with apostrophes

434575Dec 12 2004 — edited Dec 13 2004
I have a database of placenames in New Zealand containing mixed case entries such as Rotorua, Hawke's Bay and AUCKLAND. I want to rerieve these entries and present them in a web app in a consistent way. The initcap method works for most entries e.g Rotorua (obviously doesn't need to be changed) and AUCKLAND are retrieved as Rotorua and Auckland, but Hawke's Bay becomes Hawke'S Bay because initcap sees the apostophe as a word delimiter.

Does any one know a handy workaround to this problem so that i can retrieve correctly formatted placenames without needing to process the text in my app.
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Jan 10 2005
Added on Dec 12 2004
3 comments
857 views