Trim a string in Javascript.
Below is a simple function to implement this.
Below is a simple function to implement this.
Here are the different ways to trim a string in Corona SDK. Please check the console for the output. Download the source code from here