Function replaceStrings

Replaces occurrences of substrings in a string.

extern(C) Value replaceStrings(
  Value args
);

Parameters

NameDescription
args an attrset with from (list of patterns), to (list of replacements), and s (the input string)

Returns

The input string with all replacements applied left-to-right.