2
Answers

Serialization? or something else

Ask a question
L A

L A

16y
2.5k
1
Hi everybody, I know this is going to sound like and easy to answer question, and probably it is, but I need to split a string that have no delimiters, either by determined sizes (about five different sizes) or only by 8 bits each, and then manipulate the string from there. the values I am getting are '1' and '0' but no commas, headers or spaces or any other delimiter for the string.

The actual string can be between 800 bits to 14000 bits long. No spaces and some of these values are text, other are numbers and other dates.As soon as I split the string I can manipulate it individually.

I have looked in many places for the answer but everything point to delimiters, I haven't found one with my situation in particular. If you can point me to the right place would be great.

By the way the string comes from a socket connection and after I manipulate it I have to put it in a Database and then move the file to let another to come through.

Thanks in advance for your help

Answers (2)