def pad

cswap-bend-cli@0.1.0.0 · setwrite.bend:270

import cswap-bend-cli@0.1.0.0/setwrite.bend as Setwrite
import Base

270def pad(+s: String, n: Nat) -> String:
271  s ++ String.repeat(" ", Nat.sub(n, String.length(s)))

Uses (6)

Used by (2)