with-string-io

[procedure] with-string-io string proc

Gauche: calls proc with binding the current input port to an input string port from string and the current output port to an output string port whose content at the time proc returns will be the result of with-string-io.

See also call-with-string-io