Answers for "remove white space and replace by js"

3

replace white spaces javascript

const name = 'Hi my name is Flavio'
name.replace(/\s/g, '') //HimynameisFlavio
Posted by: Guest on April-27-2020
1

remove white space from string in js

"hello world".replace(/\s/g, "");
Posted by: Guest on October-17-2021

Code answers related to "Javascript"

Browse Popular Code Answers by Language