Check whether & where a given numeric string is in the previous