Method: Polars::StringExpr#strip_chars
- Defined in:
- lib/polars/string_expr.rb
permalink #strip_chars(characters = nil) ⇒ Expr Also known as: strip
Remove leading and trailing whitespace.
448 449 450 451 |
# File 'lib/polars/string_expr.rb', line 448 def strip_chars(characters = nil) characters = Utils.parse_into_expression(characters, str_as_lit: true) Utils.wrap_expr(_rbexpr.str_strip_chars(characters)) end |