I need to split up a string to get some string data, string like "images/test/89lddmen.jpg".
there will always be number at the beginning, anywhere between 1 and 5000, the first two characters after the number will always begin with"ld", so i can always look for those two chars to split, only thing is i can get it to work.
dim mystr as string
dim strar() as string
mystr="images/test/89lddmen.jpg"
strar.split(mystr,'ld')
expected results would be:
strar(0)="89"
strat(1)="lddmen.jpg"
then need to trim the ".jpg" off the end :D
dont think im forming it corectly though or not too sure of the overflow.
thanks in advance.