Hello
var str = "100+100";
Is there any way in which i can replace the '+' in str , after searching the string with another character in Javascript ?
Javascript concatenation
Moderator: General Moderators
Re: Javascript concatenation
Code: Select all
var str = "100+100";
str.replace(new RegExp("+"),"anotherCharacter");