The following is a very nice solution to replace a single character at a known position in a String, it uses the prototype functionality to add a method replaceCharAt to the String class: <script type=text/javascript> You can use this new function in the following way: <script type=text/javascript> |
