openfoam/applications/test/string
Mark Olesen 14e2dbfb2a ENH: add string replaceAny() method
- takes a search string and a replacement character.
  The replacement character can also be a nul char ('\0'), which
  simply removes the characters.

  Possible uses:

  * Replace reserved characters
      str.replaceAny("<>:", '_');

  * Remove shell meta-characters or reserved filesystem characters
      str.replaceAny("*?<>{}[]:", '\0');
2020-04-28 16:21:34 +02:00
..
Make STYLE: split off Test-string2 2019-10-04 17:52:08 +02:00
Test-string.C ENH: add string replaceAny() method 2020-04-28 16:21:34 +02:00