string-ref -- r7rs Definition accessor;
string-ref (from vonuvoli);Procedure variants:
((string-not-empty range-offset) -> (character))
string-not-empty;range-offset;character;scheme:base -- (scheme base);scheme -- (scheme);(string-ref string k)Domain: It is an error if
kis not a valid index ofstring.The
string-refprocedure returns characterkofstringusing zero-origin indexing.Note: There is no requirement for this procedure to execute in constant time.
The text herein was sourced and adapted as described in the "R7RS attribution of various text snippets" appendix.