JoeJustice
New member
Is there a way to trim whitespaces with LScript?
var a =" This is a string with leadiing and trailing white space. ";
a = a.pack();
a = a.trunc(); // a should now be "This is a string with leading and trailing white space."