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
substring
procedure returns a newly allocated string formed from the characters ofstring
beginning with indexstart
and ending with indexend
. This is equivalent to callingstring-copy
with 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.