Tail / String Layer
Extract the last N
characters from each string. Similar to Python's str[-n:] slicing. Useful for:
- Extracting file extensions
- Getting last digits of codes
- Processing fixed-width suffixes
- Analyzing string endings
Table
0
0
Table
Select
columnThe string column to extract characters from. Works with any text content.
N
i32Number of characters (N
) to keep from end. Examples:
- Positive (3): takes last 3 characters (abcd -> bcd)
- Negative (-2): takes all except first 2 characters (abcd -> cd)
Returns fewer characters if string is shorter than |N|
AsColumn
nameName 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.