StripCharsStart / String Layer

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

  • Removing leading symbols (->text)

  • Cleaning numerical prefixes

  • Standardizing indented text

  • Processing formatted identifiers

Table
0
0
Table

Select

column

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

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

  • 0 for leading zeros (0012 -> 12)
  • ¥£€¢ for currency symbols (¥100 -> 100)
  • #- for list markers (#--text -> text)

If empty, removes leading 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.