Hi All - I'm a JavaScript novice who has just started to manipluate strings. Does anyone know
how I search backwards through a string to find the last instance of a forward-slash in the
string. I then want to retrieve all of the text before that last instance of a forward-slash.
IE- i want to get "http://workflow/ACR.nsf" from "http://workflow/ACR.nsf/Goodish+Dan?OpenForm"
or another example would be i want to get "a/b/c/d/e/f/g" from "a/b/c/d/e/f/g/h"
any help would be gratefully recieved - thanks
how I search backwards through a string to find the last instance of a forward-slash in the
string. I then want to retrieve all of the text before that last instance of a forward-slash.
IE- i want to get "http://workflow/ACR.nsf" from "http://workflow/ACR.nsf/Goodish+Dan?OpenForm"
or another example would be i want to get "a/b/c/d/e/f/g" from "a/b/c/d/e/f/g/h"
any help would be gratefully recieved - thanks
Comment