[plt-scheme] (string->symbol string) not working with MrEd

From: Matthew Flatt (mflatt at cs.utah.edu)
Date: Wed Jun 8 09:57:16 EDT 2005

At Sun, 05 Jun 2005 16:17:18 -0600, Luis Coronado wrote:
> > (send tipo_lados get-string-selection)
> "hospital"
> 
> This is ok, and exactly what I wanted. But now I want to change that
> string into a symbol, so:
> 
> > (string->symbol (send tipo_lados get-string-selection))
> |hospital|

What does

 (string-length (send tipo_lados get-string-selection))

produce? I think there more be some characters in that string that
don't print and that also cause the symbol to have vertical bars.

Matthew



Posted on the users mailing list.