December 30, 200223 yr If I have a file name let say AB1234 and I want my applescript to return 4321BA (backwards text of original) do you know of a quick way to do that? I have looked up different additions that will break down the name, but not a simple backwards command. Please help!! What is the easiest and fastest way to achieve this. Remember the name lengths will differ.
December 30, 200223 yr Here's a simple solution... set theLength to count of characters in theText set ReverseText to "" repeat with i from theLength to 1 by -1 set ReverseText to ReverseText & character i of theText end repeat
Create an account or sign in to comment