To follow myself up, this also "works", and requires only one variable
definition for multiple fmt specs:
let colon = ":"
echo fmt("{\"This is a string\"}{colon:<30}{\"Another String\"}")
Run
This is a string: Another String
Run
- strformat: using a ':' in a string literal possible? MaineTim
- Re: strformat: using a ':' in a string literal possible? jyapayne
- Re: strformat: using a ':' in a string literal possible? MaineTim
- Re: strformat: using a ':' in a string literal possi... MaineTim
