Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

javascript trim


var str = ' foo  ';
str.trim(); //return string 'foo'

var str = 'foo  ';
str.trim(); // return string 'foo'
Source by github.com #
 
PREVIOUS NEXT
Tagged: #javascript #trim
ADD COMMENT
Topic
Name
5+1 =