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!

Excel to Oracle / Formula to Function

881863Sep 6 2011 — edited Sep 6 2011
I have a column that contains log entries. It can say anything, but someplace in there, it will have an entry that states this:
" ID : 555555 -" (some number).

I need to extract that number. In excel I used somthing like this:

=MID(D2,FIND(":",D2,FIND("ID :",D2,1))+2,(FIND("-",D2,FIND("ID :",D2,1))-FIND(":",D2,FIND("ID :",D2,1)))-3)

Which funtions would be the best to accomplish this?

BTW, rather than finding the info, I was thinking it might be easier to just strip the rest of the info.....I don't know.
This post has been answered by David_T on Sep 6 2011
Jump to Answer
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details