You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Apr 17, 2020. It is now read-only.
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)