Handbook
Glossary
prepend-lines-with-spaces ( str -- str' )
Vocabulary
sequences
.
extras
Inputs
str
a
string
Outputs
str'
a
string
Word description
Prepend four spaces to each line in
str
.
Definition
USING:
sequences
;
IN:
sequences.extras
:
prepend-lines-with-spaces
( str -- str' )
[
" "
prepend
]
with-string-lines
;