Siva Touches
Tuesday, October 13, 2009
Javascript String Replace All
To replace all the %26 to '&' (Un Escape)
str.replace(/%26/g,'&');
To replace all '+' symbol to 'Add'
str.replace(/+/g,'Add');
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment