title: Javascript - how to replace a sub-string?
body: <p>This is a simple one. I want to replace a sub-string with another sub-string on client-side using Javascript.</p>
  
  <p>Original string is <code>'original READ ONLY'</code></p>
  
  <p>I want to replace the <code>'READ ONLY'</code> with <code>'READ WRITE'</code></p>
  
  <p>Any quick answer please? Possibly with a javascript code snippet...</p>