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 fe578dbae82d257bfb6d755e3b05abbf37247dbe)
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.