Page tree
Skip to end of metadata
Go to start of metadata
Syntax
set aSubstring = aString.substringBefore(searchString)
set aSubstring = substringBefore(LITERAL, searchString)
SemanticsReturns the substring of aString before the first occurrence of searchString. Raises an error if the search string is not found.
SubstitutablesaString, searchString Can be any variable or object attribute having the type String.  
LITERAL String literal.
Examples
set aSubstring = stringSet.s1.substringBefore ("world");
  • No labels