Ok...I should know this but I know someone out there will.
I have a variable string....let's say it is:
myimage.jpg
I want to perform some kind of function that returns the following:
myimage
In other words, I want to always trim the last 4 right-most characters from this string. I can't use the Left function cuz the varible name will differ in length. Any ideas? Many thanks!
I have a variable string....let's say it is:
myimage.jpg
I want to perform some kind of function that returns the following:
myimage
In other words, I want to always trim the last 4 right-most characters from this string. I can't use the Left function cuz the varible name will differ in length. Any ideas? Many thanks!