Is there a strpost in reverse? (extract text from right side)

kanikakanika Posts: 195Member
edited 2018-07-17 in NAV Three Tier
If strpos find the first ocurrence of substring within a string but I need the last ocurrence.

Is there a function?

for example:

string:= 'file://\\Client\I$\INFORMES D&B\BGREEN BIOLOGICAL SYSTEMS SL.htm'

I need to extract 'BGREEN BIOLOGICAL SYSTEMS SL.htm'

but i need to find the last '\'

the string is variable because they are addresses of linked files

Thanks for advance!!!

Best Answer

Answers

Sign In or Register to comment.