findPatterns() Operation
Syntax |
| |
---|---|---|
Semantics | Returns all occurrences of the pattern found in aString as string array. Raises an error if the pattern is not found. The state of the current string is not changed. | |
Substitutables |
| Can be any variable or object attribute having the type String. |
| Regular expression (see Regular Expressions for a list of valid regular expressions). An introduction into regular expressions can be found at http://www.regular-expressions.info/. | |
| String literal. | |
Error Codes | Find the related error codes on System Errors of string operations. | |
| Cannot find any occurrences of pattern <pattern> in string <string>. | |
Examples | This example returns
NONE
This example throws an error as there is no X in the string at all.
NONE
|
Related Documentation: