pad_center
String.pad_center
pad_center(n i64) => String¶[src]
Precondition
pre debug: n >= 0
Postcondition
post debug: result.codepoint_count >= n debug: ((result.codepoint_count != n): result = String.this)
Arguments
0.099dev (GIT hash e2d5298d8107bb5fe79600fdb06a49bc75756344)
In case the required number of codepoints to add is odd, the padding at the end will be longer.