E
Elbrethril
Hello, I must find a method that verification if two strings are equal
or not. The text comes extracted from a file and there are some empty
lines. I have tried with the method equals(), and also compareTo() of
the class String, but they return java.lang.NullPointerException when
they find the line empty. How I make to arrive at the end of the rows?
Thanks
P.S. Sorry for my English
or not. The text comes extracted from a file and there are some empty
lines. I have tried with the method equals(), and also compareTo() of
the class String, but they return java.lang.NullPointerException when
they find the line empty. How I make to arrive at the end of the rows?
Thanks
P.S. Sorry for my English