Substring Replace



This object was originally written long ago when MMF2 just came out and String Parser 2 had not yet been ported. It was written at the request of Workshop2.

The second version, released 14th Dec 2009, supports extra features where multiple substrings to replace can be specified using actions. It can also use references to Global strings, values and also to the array object. It also now has modifiable properties and also a new icon by Variant. (Blog post on release)

Updated 27th August 2010 so that it doesn't fail in the Unicode version of MMF.
Updated 30th May 2011 so that it doesn't crash when the search string is empty. Also includes a Runtime Only version of the extension.
Update 22nd Feb 2014 to add a new action that deletes all the rules. Note that the global string and array features do not work in Unicode MMF or MMF2.5. I did not port it to Unicode.

Source code available on request.

ċ
Source 2012.zip
(378k)
Jack W,
Feb 11, 2016, 3:36 AM
ċ
StringReplace Feb 2014.zip
(38k)
Jack W,
Feb 22, 2014, 11:33 AM
Comments