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

pad

String.pad

(p String, n i32)
 => 
String
pad this string at the end 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.098dev (GIT hash b44352b4c68decbc58a097b291a1c8f3a5a05486)
last changed: 2026-07-03