Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Sep. 5, 2006

What is the best way to check

...

if a Java String object is empty?

Solution 1:
Code Block
someString.equals("");

...