Arduino split comma separated serial stream
The reference article, that you linked to, is about sending data over Serial, not about reading.
You can use the strtok() function, which can split a character buffer into tokens based on a delimiting character (the comma in your case).
First you have a buffer, where your Serial message in saved (I'm not covering the actual receiving/reading of the Serial data here, because there are tons of tutorials on the web):
char buffer[] = &quot;1,2.3,4,0x56&quot;;

Then you can get the first token:
char *token1 = strtok(buffer, &quot;,&quot;);

token1 is a pointer to the start of the token. strtok() replaces the found delimiter (which you specify with the second parameter) with a null character. That means, that token1 points to a null terminated C string with only the first token in it (Keep in mind that the buffer is changed with that, so it does not make any sense to try printing buffer after you used strtok()). Note, that this does not create a new buffer. It simply points to a specific place inside buffer.
You could also directly process it, for example convert it to an integer:
int token1_value = atoi(strtok(buffer, &quot;,&quot;);

To get the next token, you simply again call strtok(), but now you provide NULL instead of buffer in the first parameter. That tells strtok(), that you still want to process the same buffer from the last execution.
float token2_value = atof(strtok(NULL, &quot;,&quot;);

You can now do this, until no token is left unprocessed in the buffer. In that case strtok() returns NULL.
char *token = strtok(NULL, &quot;,&quot;);
while(token != NULL){
    Serial.println(token);
    token = strtok(NULL, &quot;,&quot;);
}

Have a look at the C++ reference for strtok(). It also includes an online editor, where you can run the provided example and play with it.