Method: Polars::StringExpr#starts_with
- Defined in:
- lib/polars/string_expr.rb
#starts_with(prefix) ⇒ Expr
Check if string values start with a substring.
927 928 929 930 |
# File 'lib/polars/string_expr.rb', line 927 def starts_with(prefix) prefix_rbexpr = Utils.parse_into_expression(prefix, str_as_lit: true) Utils.wrap_expr(_rbexpr.str_starts_with(prefix_rbexpr)) end |