hi.

i've got a string with a bunch of extra spaces in it; line breaks, tabs, 
etc...for some reason when i try to RegExp it, it doesn't remove it. anything 
wrong with this statement??

coordinatesStr.replace("\\s+",""); // doesn't remove any spaces

i've tried this and it still doesn't work:
var myPattern:RegExp = /\\s+\g;
coordinatesStr.replace(myPattern,"");

any tips are very much appreciated. thank you. -- matt. 

Reply via email to