The Artima Developer Community
Sponsored Link

Legacy Java Answers Forum
January 2002



This page contains an archived post to the Java Answers Forum made prior to February 25, 2002. If you wish to participate in discussions, please visit the new Artima Forums.



Posted by Hiran on January 24, 2002 at 3:39 PM

But don't all read methods return the value as a string? Also, could you not just check to see if the value is numerical or not?If you still need help, maybe you could provide some sample code, or a specific example (ie, what exactly do you want to do), so that we can get a clearer picture. Thanks

> Is there a way one could check whether a value in a text file is a String or an Integer??????

> ex: is this possible ??
> If(val == String)


Sponsored Links

Copyright © 1996-2009 Artima, Inc. All Rights Reserved. - Privacy Policy - Terms of Use - Advertise with Us