Vocabulary
multiline

Syntax
HEREDOC: marker ...text... marker


Inputs
None

Outputs
None

Word description
Returns a string delimited by an arbitrary user-defined token. This delimiter must be exactly the text beginning at the first non-blank character after HEREDOC: until the end of the line containing HEREDOC:. Text is captured until a line is found containing exactly this delimiter string.

Warning
Whitespace is significant.


Examples
USING: multiline prettyprint ; HEREDOC: END x END .
"x\n"

USING: multiline prettyprint sequences ; 2 5 HEREDOC: zap foo bar zap subseq .
"o\nb"


Definition