But neither has any extra "cost", since Empty is a single fixed reference (you can use it any number of times). But you can have an empty string, i.e. use, @Kieren Johnstone, if one has no postfix name, why wouldn't use, Yes. How to check if a string contains a substring in Bash. These both create empty strings and are basically equivalent. Can my creature spell be countered if I cast a split second spell after it? If the input isn't ASCII, the logic would be (1) encoding-dependent and (2) much more complicated. Not the answer you're looking for? Microsoft makes no warranties, express or implied, with respect to the information provided here. Unexpected uint64 behaviour 0xFFFF'FFFF'FFFF'FFFF - 1 = 0? The safest way to check for an empty or null string is using string.IsNullOrEmpty. Is there a single function that can check if it's not "" or null? Why is it shorter than a normal address? Share The cursor just jumps down to the next line instead of submitting nothing. Not the answer you're looking for? std::string.length, or if you like C better, strlen function. Why would you use Expression