Site icon Sibeesh Passion

How to remove the spaces between the string in JQuery

How to remove the spaces between the string in JQuery.
[js]
var str="Sibeesh Passion"
var strAfter=str.replace(/\s/g, ”);
[/js]

Exit mobile version