starts_with

Aliases: startswith (deprecated).

starts_with(haystack: string, needle: string) -> bool

Returns true if string starts with expr.

Domain

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

Categories

Examples

filter starts_with(@.bundle_kind, "kube")

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