Node:SRFI-13 Reverse/Append, Next:, Previous:SRFI-13 Case Mapping, Up:SRFI-13



39.11.11 Reverse/Append

One appending procedure, string-append is the same in R5RS and in SRFI-13, so it is not redefined.

string-reverse str [start end] Scheme Procedure
string-reverse! str [start end] Scheme Procedure
Reverse the string str. The optional arguments start and end delimit the region of str to operate on.

string-reverse! modifies the argument string and returns an unspecified value.

string-append/shared ls ... Scheme Procedure
Like string-append, but the result may share memory with the argument strings.

string-concatenate ls Scheme Procedure
Append the elements of ls (which must be strings) together into a single string. Guaranteed to return a freshly allocated string.

string-concatenate/shared ls Scheme Procedure
Like string-concatenate, but the result may share memory with the strings in the list ls.

string-concatenate-reverse ls final_string end Scheme Procedure
Without optional arguments, this procedure is equivalent to
(string-concatenate (reverse ls))

If the optional argument final_string is specified, it is consed onto the beginning to ls before performing the list-reverse and string-concatenate operations. If end is given, only the characters of final_string up to index end are used.

Guaranteed to return a freshly allocated string.

string-concatenate-reverse/shared ls final_string end Scheme Procedure
Like string-concatenate-reverse, but the result may share memory with the the strings in the ls arguments.