Split out string and numbers into their own categories.