Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Published by Scroll Versions from space WDESIGNER and version 24.0
Syntax
Code Block
languagenone
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
Code Block
languagenone
set aSubstring = s1.substringBefore ("world");
rp
Panel
titleRelated Pages: