Method: Polars::StringExpr#strip_suffix
- Defined in:
- lib/polars/string_expr.rb
#strip_suffix(suffix) ⇒ Expr
Remove suffix.
The suffix will be removed from the string exactly once, if found.
653 654 655 656 |
# File 'lib/polars/string_expr.rb', line 653 def strip_suffix(suffix) suffix = Utils.parse_into_expression(suffix, str_as_lit: true) Utils.wrap_expr(_rbexpr.str_strip_suffix(suffix)) end |