public lpad(width as Long, fill as Char = ' ') as String
Returns immutable padded text, or the current snapshot if no padding is needed.
| Parameter | Description |
|---|---|
width | Requested scalar width. |
fill | Padding character; defaults to a space. |
The padded immutable String.
result = m"Klyn".lpad(8, '.')