starts_with

Description

Returns true if string starts with expr.

Return type

bool

Domain

This is a scalar function (calculates a single output value for a single input row.)

Categories

Usage

starts_with(str, expr)

Argument

Type

Optional

Repeatable

Restrictions

str

string

no

no

none

expr

string

no

no

none

Examples

filter starts_with(@.bundle_kind, "kube")

Pass through all bundle kinds that start with the string ‘kube’.

Aliases

startswith (deprecated)