Breadcrumbs

substringAfter() Operation


Syntax


set aSubstring = aString.substringAfter(searchString)
set aSubstring = substringAfter(LITERAL, searchString)


Semantics

Returns the substring of aString after the first occurrence of searchString. Raises an error if the search string is not found.

Substitutables

aString, searchString

Can be any variable or object attribute having the type String.  

LITERAL

String literal.

Examples


set aSubstring = stringSet.s1.substringAfter("world");