Reverse a String

var reversedString:String = originalString.split("").reverse().join("");

source

Comments are closed.