I need to check if a particular point in a sting "line" has any value in it or not. I know that the string will be composed of numbers, so I have tried using :
I know that this is an awkward way of doing this, and it doesn't work! If the string is empty by the time I get to this point, I get a NumberformatException error. Can anyone suggest a way I can check if a substing is not null? This HAS GOT to be simple!?!
Joined: Jan 20, 2003
Try checking the length of said string !
Joined: Dec 06, 2001
You should break each function call into its own line. This would help simplify things drastically. HTH Layne