Find which position a code is in