Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

ArgumentTypeDescription
listToCheckString or Array A string (or list of strings) to evaluate.
findPatternRegular ExpressionExpressionsPattern to be matched in listToCheck
replacementStringStringString to replace matching pattern in list

 replaceAll applied to:

  • a multielement array returns a multielement array
  • a single element array returns a string.

Examples

replaceAll(in.fileName, "[0-9]{8}", "")

...