I wonder how to split a number on parts and then compare them to each other
For instance, I've got a set of numbers
989010
990009
991008
992992
993006
994005
995004
and I want to divide each of numbers on two parts -->>
if it's 989010 -- it will be like '989' and '010'.
After that, I think I can just compare two strings, right?
I mean,
'989' != '010' true
'990' != '009' true
'992' != '992' false
it seems I should use the split function, however I confused how to separate only on two parts rather than more
Thanks in advance!