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!

sql to identify first and last word of the string

636380May 13 2008 — edited May 14 2008
Hi ,

i have to identify the first and last word of a string,
can any one suggest the best way..

for ex: 1.HI HOW ARE YOU
the result shud be HI ,YOU

2.Ramesh Murthy

result shud be Ramesh,Murthy

3.MOHAMED MERZA ALI TAHA
result shud be MOHAMED ,TAHA.

Thanks,
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Jun 11 2008
Added on May 13 2008
11 comments
1,769 views