We can check the end of the string first for null-termination, rather than the beginning of the string.