I'm getting the IMEI from the phone and I have to split it into groups of 2 characters so I convert them to hex afterwards.
This String comes with no separator, the numbers come together, for example 36529874 and I wanted to separate them into groups of two numbers. So I get the String I split the first two and convert to hex, split the two seconds and convert to hex, split the two thirds and convert to hex. After converting these pairs into hexes I want to use only a few to display on the screen. How can I do this? I'm a beginner, I looked for a solution but I did not find it.