def Fmt.center

bend-kit-fmt@0.1.0.0 · fmt.bend:35

import bend-kit-fmt@0.1.0.0/fmt.bend as Fmt
import Base

35# The odd pad char goes on the right.
36def Fmt.center(+s: String, w: Nat, +c: Char) -> String:
37  Fmt.center.go(Nat.sub(w, String.length(s)), s, c)

Uses (6)

Used by (0)

No other definition uses this definition.