The serial input basics tutorial proved very helpful to me and shows how to incorporate the start and end markers suggested by @J-M-L.
The serial input basics tutorial proved very helpful to me and shows how to incorporate the start and end markers suggested by @J-M-L.