ReplaceStrings

Replace strings found in list of strings from inside a string, does taht make sense?
Similar to ReplaceChars but this one will replace full words in list.
Pass String1, the large string you want to work with, then Strings_to_Remove with is list of strings that we do not want to see in String1 separated by Sepa.
Then we pass Strings_to_put to be put instead of strings from Strings_to_Remove, also separated by Sepa
Is this better?


Public

Tested

Original Work

String1, Strings_to_remove, Strings_to_put, Optional Sepa = "|"

? ReplaceStrings("Something of worlds", "of|some", "to|Any")
Anything to worlds

Views 1
Downloads 0


ANmarAmdeen
547
Attachments
Revisions

v1.0

Saturday
November
11
2023