Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.



Excerpt
hiddentrue

startsWith(stringToTest, stringToLookFor) Returns True if a String starts with a given pattern otherwise returns False.


Function: startsWith()

Returns True if a String starts with a given pattern otherwise returns False.

...

ArgumentTypeDescription
stringToTestStringThe string to be searched.
stringToLookForStringThe String to look for in stringToTest

Examples

startsWith("ABCDEF","ABC")

Returns True.


startsWith("ABCDEF","BC")

Returns False.


startsWith(in.prodCode,$prodSuffix)

Returns True if in.prodCode starts with the String contained within $prodSuffix.

...