pad(s,n) pads the string or net s to length n with spaces on the right.
pad(n,s) pads the string or net s to length n with spaces on the left.
i1 : pad(6, "foo") o1 = foo |
i2 : pad("foo", 6) | "bar" o2 = foo bar |
The object pad is a method function.