read-string ( $n $string $char -- n' string payload )


Vocabulary
modern.html

Inputs
$nan object
$stringan object
$charan object


Outputs
n'an object
stringan object
payloadan object


Definition


:: read-string ( $n $string $char -- n' string payload )
$n $string $char 39 =
[ advance-squote-payload-noescape ]
[ advance-dquote-payload-noescape ] if drop
:> $n' $n' $string $n $n' 1 - $string <slice> ;