Answers for "javascript change _ to space"

0

javascript change _ to space

var str = 'How are you';
var replaced = str.split(' ').join('_');
Posted by: Guest on July-07-2021

Code answers related to "Javascript"

Browse Popular Code Answers by Language