I am using an RS232 serial port and getting information back as a byte array. The array is separated by a space; first half contains strings and the other half is integers. What’s the most efficient way to split these two components so that I am able to to access both the string and integer components?
I should also probably clarify that I can convert the byte array into a string and split it like that. But I was then unable to convert half of the the string to an integer