Friday, August 14, 2009

JavaScript replace

Syntax
stringObject.replace(findstring,newstring)

Parameter Description
findstring Required.
Specifies a string value to find. To perform a global search add a 'g' flag to this parameter and to perform a case-insensitive search add an 'i' flag

newstring Required.

Specifies the string to replace the found value from findstring



Till Next Time

No comments:

Post a Comment