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 -

node.js - Why do I get "SOCKS connection failed. Connection not allowed by ruleset" for some .onion sites? -

matlab - 0-by-1 sym - What do I need to change in order to get proper symbolic results? -