StripCharsEnd / String Layer

Remove specified characters from the end of strings. Similar to Python's str.rstrip() or Rust's trim_end_matches(). Removes any combination of specified characters from the right side until a non-matching character is found. Useful for:

  • Removing trailing punctuation
  • Cleaning file extensions
  • Standardizing line endings
  • Processing log file entries
Table
0
0
Table

Select

column

The string column to clean. Each value will have matching characters removed from its end only.

Set of characters (Characters) to remove from the end. Examples:

  • .,!? for ending punctuation (text!!! -> text)
  • 0 for trailing zeros (100.00 -> 100)
  • Line break characters for end of lines

If empty, removes trailing whitespace (spaces, tabs, newlines)

Name for the new column. If not provided, the system generates a unique name. If AsColumn matches an existing column, the existing column is replaced. The name should follow valid column naming conventions.