Ah, I see. I'm curious though why you want to put the raw string in the curly braces. You could do: echo fmt("This is a string{colon:<30}Another String") Run
There is also `alignLeft()` in the strutils module, but it's less attractive: import strutils echo "This is a string:".alignLeft(30) & "Another String" Run