K
Kenneth McDonald
Is there an easy way to parse a string to an integer that will throw an
error of some sort if the string is not actually a properly formatted
integer? "to_i" of course is very non-strict, which is no good for what
I want, and I'd prefer not to write my own when it seems likely that
there would be some way to do this already...
Thanks,
Ken
error of some sort if the string is not actually a properly formatted
integer? "to_i" of course is very non-strict, which is no good for what
I want, and I'd prefer not to write my own when it seems likely that
there would be some way to do this already...
Thanks,
Ken