The Artima Developer Community
Sponsored Link

Legacy Java Answers Forum
January 2002

Advertisement

Advertisement

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.

Message:

But...

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
Hiran

> 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)






Replies:

Sponsored Links



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