PadEnd / String Layer
Add padding characters to the right side of strings until they reach a specified length. Similar to Python's str.ljust() or Rust's pad_to_width(). Useful for:
- Creating fixed-width text fields
- Aligning text for display
- Formatting data for legacy systems
- Standardizing string lengths
Table
0
0
Table
Select
columnThe string column to pad. Strings longer than Length
remain unchanged.
Length
u32Target length (Length
) for padded strings. Examples:
- abc with length=5 becomes abc⎵⎵
- x with length=3 becomes x⎵⎵
- long_text with length=4 stays long_text
FillChar
stringSingle character (FillChar
) for padding. Common uses:
- Space ( ) for text alignment
- Zero (0) for numeric strings
- Dash (-) for formatting
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.