What you want to do is to check if the string is empty (i.e. it's length is equal to zero).
Check the following link, if you check the "Method Summary" table you will most likely find a method or...