Fuzion Logo
fuzion-lang.dev — The Fuzion Language Portal
JavaScript seems to be disabled. Functionality is limited.

pad_left

String.pad_left

pad this string at the beginning with `p` such that its `codepoint_count` is at least `n`.
Precondition
pre
  safety: p.codepoint_count > 0
  debug: n >= 0
Postcondition
post
  debug: result.codepoint_count >= n
  debug: ((result.codepoint_count >= n+p.codepoint_count): result = String.this)
0.097dev (GIT hash 4fdfc3160d9df4641ee0c680b4f89bf1eb6d4133)
last changed: 2026-06-24