Adam D. Ruppe Tue, 16 Jul 2013 12:30:48 -0700
I just use if(string.length == 0) {}
which covers both cases and is pretty intuitive too.