Skip to Main Content

Analytics Software

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!

OBIEE - Find position of the last occurrence of a charcter within a string.

John_KMay 10 2013 — edited May 13 2013
Hi,
I have a requirement in 11.1.1.6.9 to be locate the position of the last occurrence of a character within a string.
i.e. Given the following, I would want to locate the last "/":
This/is/an/example
I would like to return a value of 11. Now, there could be any number of "/" so I can't always locate the nth one - it must be the last one.

Anyone any ideas?

Thanks,
John
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details