thousands.split function

Divide strings into groups of thousands