def pad_left

bend-prot@0.1.0.0 · pdb.bend:491

import bend-prot@0.1.0.0/pdb.bend as Pdb
import Base

491def pad_left(+s: String, w: Nat) -> String:
492  String.append(String.repeat(" ", Nat.sub(w, String.length(s))), s)

Uses (6)

Used by (5)