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(haystack, needle)
| Argument | Type | Optional | Repeatable | Restrictions | 
|---|---|---|---|---|
| haystack | string | no | no | none | 
| needle | 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)