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 `p` such that its `codepoint_length` is at least `n`.

In case the required number of copies of `p` 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)