# indent
Indent each line of a string.
## Syntax
[indent $string] [indent $string $indent]
`$indent` is an optional string prefix (default two spaces, `" "`).
## Examples
[indent "a\nb"] # " a\n b" [indent "hi"] # " hi" [indent "a\nb" " "] # " a\n b" [indent "x" "\t"] # "\tx"
## Returns
New string with the indent prefix prepended to every line.
## See Also
`trim`, `lines`, `pad-left`