Adds indentation to all lines of a string except the first line.
Useful when embedding fragments that should be correctly indented.
The multiline string to indent
The indentation string to add (default: two spaces)
A new string with all but the first line indented
indentTail('hello\nworld') // 'hello\n world' Copy
indentTail('hello\nworld') // 'hello\n world'
Adds indentation to all lines of a string except the first line.
Useful when embedding fragments that should be correctly indented.