3 November, 2010
0 Comments
1 category
If you want to find and replace parts of a string in JavaScript, you can use the replace function:
Code
var str = "This is Microsoft"
str = str.replace("Microsoft", "ADA ICT");
document.write(str);
Output
This is ADA ICT
Tags: Javascript
Category: Uncategorized