Forum Discussion
Komag
11 years agoRoku Guru
You can see some functions in section 8 of the main BrightScript documentation, plus there are more in ifStringOps. There are multiple ways you could approach it, here's one possibility:
(results: "sdrawkcAssab")
origStr = "bassAckwards"
newStr = ""
len = Len(origStr)
FOR i = len TO 1 STEP -1
newStr = newStr + Mid(origStr, i, 1)
END FOR
? newStr
(results: "sdrawkcAssab")