stdlib
1.6
1.8
1.7
1.6
1.5
1.4
1.3
1.2
1.1
1.0
Common
stdlib
/
kotlin.text
/
prependIndent
prepend
Indent
fun
String
.
prependIndent
(
indent
:
String
=
" "
)
:
String
(
source
)
Prepends
indent
to every line of the original string.
Doesn't preserve the original line endings.
Since Kotlin
1.2