pad_center
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.099dev (GIT hash bf4ead724d7f3fdab43a87b63c17477c916c8995)
last changed: 2026-11-04
In case the required number of copies of `p` is odd, the padding at the end will be longer.