First check to see how many characters you receive.
Then convert the last 5 (or less) to a long.
If more than 5 characters, remove the last 5 characters.
Repeat two more times for the remaining longs.
First check to see how many characters you receive.
Then convert the last 5 (or less) to a long.
If more than 5 characters, remove the last 5 characters.
Repeat two more times for the remaining longs.