Deleting characters from a string?
Posted: Fri Feb 11, 2011 12:45 am
I am trying to remove the first 5 characters from a string as I bring it into the program. I have yet to accomplish this. What I have so far:
It doesn't delete any characters. I have tried many different methods and looked in the dictionary with no luck.
Thanks in advance Klaus
Code: Select all
put URL("file:" & specialFolderPath("documents") & "/GameData.hs") into LocalHighScore #This part works fine
replace char 1 to 5 with empty in LocalHighScore
put base64decode(LocalHighScore) into LocalHighScore
answer LocalHighScore #Just here to see if it works
Thanks in advance Klaus
