Welcome to the Indigo Rose Software discussion forums! You will need to sign up for a forum account and login before you can post. Need help? View the Forum FAQ.
The string.parse action with filename option doesn't seem to work. I am getting the full original string as result. The extension option does work fine though.
Seems like a bug to me..
Yossi
I am taking a url from a local (absolute) address in a webbrowser object and I want only the filename, so that it would work on any machine.
To be sure, I put a text object for debugging purposes which returns the value of said string.
I got the full path instead of the filename only. As I said, using the extension option for the string.parse action, I got the extension itself only, as I wanted.
Yossi
The URL will have the \ set as a /. Try doing a find from the end to get the postion of the last / and then do a right sting function. Or, you could do a Count Delimited using / as the delimiter, then Get Delimeted String using the count for the last string.
Comment