position string at left
Description
s3 left(s1, i, s2)
left(s1, i, s2) produces a string of size i in which s1 is left justified, with s2 used for padding at the right as necessary.
Parameters
- s1
- string to be justified
- i
- length of result string
- s2
- padding sequence
- returns
- string padded to i length
Defaults
- i
- 1
- s2
- " "
Errors
101 |
i is not integer |
103 |
s1 or s2 is not a string |
205 |
i<0 |
See Also
- center — position string at center
- right — position string at right