You need to gather individual serial reads into a char array and then go from there.
Here is some code to help you gather the array:-
You need to gather individual serial reads into a char array and then go from there.
Here is some code to help you gather the array:-