...
replaceFirst(listToCheck, findPattern, replacementString)
Argument | Type | Description |
---|---|---|
listToCheck | Array | List of strings to evaluate |
findPattern | Regular |
Expressions | Pattern to be matched in listToCheck | |
replacementString | String | String to replace matching pattern in list |
Examples
replaceFirst(in.fileName, "[0-9]{8}", "")
...