string->symbol -- r7rs Definition converter;
string->symbol (from vonuvoli);Procedure variants:
((string-empty) -> (symbol))
string-empty;symbol;((string-not-empty) -> (symbol))
string-not-empty;symbol;scheme:base -- (scheme base);scheme -- (scheme);(string->symbol string)Returns the symbol whose name is
string. This procedure can create symbols with names containing special characters that would require escaping when written, but does not interpret escapes in its input.(string->symbol "mISSISSIppi") ===> mISSISSIppi (eqv? 'bitBlt (string->symbol "bitBlt")) ===> #t (eqv? 'LollyPop (string->symbol (symbol->string 'LollyPop))) ===> #t (string=? "K. Harper, M.D." (symbol->string (string->symbol "K. Harper, M.D."))) ===> #t
The text herein was sourced and adapted as described in the "R7RS attribution of various text snippets" appendix.