trim

trim ( string txt ) : string

Remove blank caracters at the left and the right of a string

Example>/h3>
console(trim("     hello world        ")) //-> hello world

Parameters

txt