I think <= 0 is better than < MIN_STR_LEN.