Take into account empty string.