破民的网络世界
一月 7th, 2010 § 0
又一个有用的函数,倒转给定的字符串。
function reverseString(tString:String):String { var tmp_array:Array=tString.split(""); tmp_array.reverse(); var tmpString:String=tmp_array.join(""); return tmpString; }
Tagged: as3
Name (required)
Mail (will not be published) (required)
Website
You are currently reading 倒转给定的字符串 at 破民.