[plt-scheme] string->number
Thank you. This saves me having to debug the other end to figure out
where the space is coming from. (And the version I've been using is
whatever was the last version to run on DOS, so I think it was around
version 43 or so.)
Many thanks,
-R. v. W.
Eli Barzilay <eli at barzilay.org> wrote:
> > I have old code that seems to depend on this:
> >
> > (string->number " 0000") => 0
> >
> > But what that gets is:
> >
> > (string->number " 0000") => #f
> >
> > it's possible that the other end changed here (the device that delivers
> > the " 0000"), so I'm curious to know if there was a change on the scheme
> > side. Any ideas?
>
> It's been that way for at least a decade, since v53.
>
--
------------------------
tomfool at as220 dot org
http://sgouros.com
http://whatcheer.net