local aString = " This string starts and ends with rogue spaces "; local newString = strip(aString); server.log(newString); // Displays "This string starts and ends with rogue spaces"