Skip to content

StartWith

Description

StartWith returns true when text starts with a specified prefix.

Syntax

StartWith(text, prefix)

Parameters

Parameter Required Type Description
text Yes String, field, or expression Text to check.
prefix Yes String Prefix to match.

Notes

Use this function in calculated fields, metric expressions, or query expressions where the function category is supported.

Example

StartWith(ProductCode, "A")

The expression returns the calculated result according to the current query context.