Method: Polars::StringExpr#strip_prefix
- Defined in:
- lib/polars/string_expr.rb
#strip_prefix(prefix) ⇒ Expr
Remove prefix.
The prefix will be removed from the string exactly once, if found.
623 624 625 626 |
# File 'lib/polars/string_expr.rb', line 623 def strip_prefix(prefix) prefix = Utils.parse_into_expression(prefix, str_as_lit: true) Utils.wrap_expr(_rbexpr.str_strip_prefix(prefix)) end |