string-copy

[procedure] string-copy string

R5RS, R6RS: Returns a newly allocated copy of the given string.

[procedure] string-copy string [start end]

SRFI-13 extends R5RS to take optional arguments.

See also substring/shared.