substring

[procedure] substring string start end

R5RS, R6RS: Substring returns a newly allocated string formed from the characters of string beginning with index start (inclusive) and ending with index end (exclusive).

See also substring/shared, string-copy.

Guile allows end argument to be omitted. (When end is omitted, it is equivalent to string-drop in SRFI-13).