ReplaceStrings function replaces all strings in
APatterns found in
ASubject with the value in
AReplacement. As an example, I added the
RemoveStrings function which replaces everthing with an empty string, thus deleting all strings found. Usage examples are in the XMLDoc comments.
A good test will be to rewrite this function to accept regular expression patterns, or write one that accepts an array of replacements, so each sub -string can be replaced with a different value.