DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR JAVASCRIPT
suppress spaces in front and in the end of a string javascript
var hello = ' Hello there! '; // returns "Hello there!" hello.trim();
Source by gomakethings.com #
PREVIOUS
NEXT
Tagged:
#suppress
#spaces
#front
#string
#javascript
ADD COMMENT
Topic
COMMENT
Name
2+7 =
Submit