WMLScript trim() Function
Complete WMLScript String Library
The trim() function returns a string without leading and trailing spaces.
Syntax
| Part |
Description |
| n |
The string returned from the function |
| string |
A string |
Example
|
var a = String.trim(" Visit W3Schools ");
|
Result
Complete WMLScript String Library
Click here to design a Stunning Flash Website for Free
Wix is a revolutionary web design tool that provides anyone with the possibility to create professional and beautiful websites for free.
With e-commerce features, search engine visibility and many more professional tools, Wix is the ultimate solution for creating a spectacular site while saving tons of money.
|