Find And Replace String Characters
CSGNetwork FREE Source Code, Javascript Source, and Code Snippets!
CSGNetwork Custom Search
     Bookmark and Share
 
CSGNetwork
Snippets
Calculators
Top Free Apps
Home
Back



Right click this window and select "view source" in order to copy the source for this script.

The First String
Replace All Instances Of
With
   
The New String


Find And Replace String Characters



View Source...

The replaceCharacters() function is used to replace some characters with some other characters in a string; it is case sensitive. It is NOT a native JavaScript builtin. Replacements do not have to be 1 character for 1 character, as shown in the demo.



Bookmark and Share
Registered® Trademark™ and CopyrightŠ 1973 - CSG, Computer Support Group, Inc. and CSGNetwork.Com All Rights Reserved