Name

string:indent

Usage

builtin-function

Syntax

(string:indent text prefix)

Description

Adds a prefix string to each line in text.

user 1 > (print-line (.indent "aaaa\nbbbb" "---"))
---aaaa
---bbbb
it: null