Don't bother substringing if we don't need to