The output is, as expected: |<@Geralt>|| and demonstrates that the result of join is a single string, i.e. it concatenates multiple arguments into a single argument.
If we replace pad with pad = "|$[-9]0|$1-|"; we get: ||| instead of the expected output: |<@Geralt>||
If you try other number you get different things, here are some that I tried:
pad = "|$[-10]0|$1-|"; gives |<||
pad = "|$[-20]0|$1-|"; gives |<@ownnick||
pad = "|$[-30]0|$1-|"; gives | <@Geralt>||
pad = "|$[10]0|$1-|"; gives |<||
pad = "|$[20]0|$1-|"; gives |<@ownnick||
pad = "|$[30]0|$1-|"; gives |<@Geralt> ||
pad = "|$[40]0|$1-|"; gives |<@Geralt>...........|| (spaces replaced by dots)
A working example:
The output is, as expected: |<@Geralt>|| and demonstrates that the result of join is a single string, i.e. it concatenates multiple arguments into a single argument.
If we replace pad with pad = "|$[-9]0|$1-|"; we get: ||| instead of the expected output: |<@Geralt>|| If you try other number you get different things, here are some that I tried: pad = "|$[-10]0|$1-|"; gives |<|| pad = "|$[-20]0|$1-|"; gives |<@ownnick|| pad = "|$[-30]0|$1-|"; gives | <@Geralt>|| pad = "|$[10]0|$1-|"; gives |<|| pad = "|$[20]0|$1-|"; gives |<@ownnick|| pad = "|$[30]0|$1-|"; gives |<@Geralt> || pad = "|$[40]0|$1-|"; gives |<@Geralt>...........|| (spaces replaced by dots)