Methods
Str
ΒΆ
Str(s:
Str
, target_width:
Int
)
Pad a string to given width with spaces
Source:
stdlib.ngs:2391
target_width
Positive pads on right, negative pads on left
Example
Str("x", 3) # 'x ' Str("x",-3) # ' x'