The string is not nill but blank, you should also calculate on blank strings