Fuzion Logo
fuzion-lang.dev — The Fuzion Language Portal
»

pad_center

String.pad_center

pad this string at the beginning and at the end with spaces such that its `codepoint_length` is at least `n`.

In case the required number of codepoints to add is odd, the padding at the end will be longer.
0.094dev (2025-07-10 15:41:47 GIT hash eafa42ae743de61b62f958948d7abb5fada7756f built by fridi@fzen)