replaceAll String

14 08 2007

replace all commas with whitespace

var firstName ="John, Doe";
var formattedName= firstName.replace(/,/g,' ');


Actions

Information

Leave a comment