set result = aString.findPattern(regExpPattern)
set result = findPattern(LITERAL, regExpPattern)
Semantics
Returns the first occurrence of the pattern found in aString. Raises an error if the pattern is not found. Returns a new string. The state of the current string is not changed.
Substitutables
aString
Can be any variable or object attribute having the type String.