String.trim() doesn't work?
-
Is it only me?
var trimTest = "Remove The Spaces Please"; trimTest = trimTest.trim();
returns the same unchanged string...
-
Read the docs ;)
var trimTest = " 12345 "; trimTest = trimTest.trim(); Console.print(trimTest.length);
Use replace for what you want.
-
@d-healey It was a test to see if your mind's still sharp
Read the doc? and I wouldn't have the honor to speak to you :)
Thanks a lot, I totally overlooked this one...