CenterView Help

Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

Version 1 Current »

Function: startsWith()

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

Syntax

startsWith(stringToTest, stringToLookFor)

Argument Type Description
stringToTest String The string to be searched.
stringToLookFor String The 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.

See Also

  • No labels