vbscript - find string in text file from right -


how find character in string right?

here try do, have following file path:

\\abc\shows\t3rtf\ggh\episodes\111\yuo\character\goodday.jpg \\abc\shows\gt6yh\ggh\episodes\111\yuo\pop\5656h.jpg \\abc\shows\gh455g\ghj\episodes\111\yuo\character\bhy74f.jpg 

i need print/show file name only. (goodday.jpg, 5656h.jpg , bhy74f.jpg)

i thinking finding "\" right, should able print out file name.

i tried instrrev, not good.

response.write instrrev(txt,"\") 

any ideas?

solve own problem: mid(txt,instrrev(txt,"\")+1)


Comments

Popular posts from this blog

node.js - How to mock a third-party api calls in the backend -

java - Could not locate OpenAL library -

c++ - Delete matches in OpenCV (Keypoints and descriptors) -