Functions Language

Startswith

The Startswith() function evaluates whether an input string starts with a specified sequence of characters.

Related functions: Endswith


Syntax:

Startswith(SpecifiedElement, Value)
  • In the Quintessence Editor (Studio) using Python language, use: Qx.Startswith()
 See parameter descriptions

SpecifiedElementThe input string to evaluate.
ValueThe text to match against the start of the input string.

Examples:

The examples provided below are based on fictitious data for illustrative purposes only.

> Example 1: Determine if a string starts with specific text


Formula:

return := Startswith("ABC001", "ABC"); 

Result:

TRUE