Dears, I want ask you for help.
I need divide one string of 10 numbers, to five strings with 2 numbers. Can you help me how? Thanx
String recivedMessage = "1946400156";
char first = recivedMessage.substring(0, 1)[0];
char second = recivedMessage.substring(1, 2)[0];
char third = recivedMessage.substring(2, 3)[0];
char forth = recivedMessage.substring(3, 4)[0];
char fifth = recivedMessage.substring(4)[0];
Serial.println("message: ");
Serial.println(first);
Serial.println(second);
Serial.println(third);
Serial.println(forth);
Serial.println(fifth);
/* I got next:
1
9
4
6
4
But I need next:
19
46
40
01
56
*/