pad_center
String.pad_center
Precondition
pre debug: n >= 0
Postcondition
post debug: result.codepoint_count >= n debug: ((result.codepoint_count != n): result = String.this)
0.095dev (GIT hash 91033acfd0b07a6e4c620ce81166841b8de33a6f)
pre debug: n >= 0
post debug: result.codepoint_count >= n debug: ((result.codepoint_count != n): result = String.this)
In case the required number of codepoints to add is odd, the padding at the end will be longer.