- Powered by Domino 8.5.2 Domino Accelerator Pack
- Reduce network traffic
Lotus Triple Search DominoExperts + Blogs + R8 forum -> Script vault -> JavaScript

 replaceSubstring in javascript

Tomas NielsenPost date: 2007-01-12 20:22

This is one of my favourite one liners. All domino developers know the syntax from the @-formula language so why not have it in Java Script.

function replaceSubstring(exp, str, wit) { return exp.split(str).join(wit); }

RSS feed
Subscribe to Forum

Share this page

Top posters
Tomas Nielsen212
Joacim Boive27
Fredrik Stöckel27
Niklas Waller13
Kenneth Haggman11
Bryan Kuhn10
Daniel Lehtihet9
Jonas Israelsson8