title: Replacing specific characters in a string - JavaScript
body: <p>Okay, so I'm trying to create a JavaScript function to replace specific characters in a string. What I mean by this is, lets say, searching a string character by character for a letter and if it matches, replacing it with another character. Ex, replacing "a" with "x": <code>Hello, how are you?</code> becomes <code>Hello, how xre you?</code> and <code>Greetings and salutations</code> becomes <code>Greetings and sxlutations</code>.</p>