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 |
Required |
Multiple |
Constant |
---|---|---|---|---|
str |
string |
Required |
Only one |
Variable |
expr |
string |
Required |
Only one |
Variable |
Examples¶
filter starts_with(@.bundle_kind, "kube")
Pass through all bundle kinds that start with the string ‘kube’.
Aliases¶
startswith
(deprecated)