Try it yourself: Google “how to check for empty string.” I got about 16 million results. How can something that seems so straightforward lead to so many questions and probably even more answers? The solution differs by language, but most answers will look similar to this: if string != null and string.length() > 0 {... Continue Reading →