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!

Escape special character from initcap

RiteshSinhaMay 23 2014 — edited May 23 2014

Hi Everybody,


I have a requirement where all the first character of a word has to capital, i am using below query to do that.


select initcap('The great toad’s prediction') from dual;

Output

---------

The Great Toad’S Prediction

Because of special character S is also coming as caps, which is not correct here.

The actual output should be,

The Great Toad’s Prediction

Could you please help here.

Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Jun 20 2014
Added on May 23 2014
4 comments
373 views