var str:String = "action script";
function removeWhiteSpace(str:String):String {
var newstring = str.split(" ").join("");
return newstring;
}
trace(removeWhiteSpace(str)); //Outputs actionscript
Welcome to my actionscript snippet library!
Actionscript Snips is a small repository of actionscript code that aims to save developers and designers time when developing a website.
Removes Whitespace From String
Posted by
admin
on Monday, July 27, 2009
Labels:
Strings
0 comments:
Post a Comment