DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR JAVASCRIPT
replacing each space in a string javascript
const name = 'Hi my name is Flavio' name.replace(/s/g, '') //HimynameisFlavio
Source by flaviocopes.com #
PREVIOUS
NEXT
Tagged:
#replacing
#space
#string
#javascript
ADD COMMENT
Topic
COMMENT
Name
1+7 =
Submit