substring -- r7rs Definition accessor;
string-copy (from r7rs);string-copy (from vonuvoli);Procedure variants:
((string range-start range-end) -> (string))
string;range-start;range-end;string;scheme:base -- (scheme base);scheme -- (scheme);(substring string start end)The
substringprocedure returns a newly allocated string formed from the characters ofstringbeginning with indexstartand ending with indexend. This is equivalent to callingstring-copywith the same arguments, but is provided for backward compatibility and stylistic flexibility.
The text herein was sourced and adapted as described in the "R7RS attribution of various text snippets" appendix.