ljust

Basic data handling: StringLjust

Left-aligns the string within a field of a given width. This node returns a string left-aligned in a field of the specified width. If fillchar is provided, it is used as the padding character instead of a space.

Pack: Basic data handling

custom_nodes.ComfyUI-basic_data_handling

Inputs (3)

NameTypeRequired
stringSTRINGrequired
widthINTrequired
fillcharSTRINGoptional

Outputs (1)

NameType
STRINGSTRING