A common question I often find is:
How can I split this incoming data into parts?
It's especially asked in conjunction with reading data through serial. So I thought I'd introduce you to two completely different approaches, each with benefits and drawbacks depending on the kind of data you are splitting.
So you have some data coming in through serial, or some similar stream, and you need to cut it up into different parts. The two methods basically consist of either: