Skip to main content
Skip table of contents

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

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

JavaScript errors detected

Please note, these errors can depend on your browser setup.

If this problem persists, please contact our support.