Finding the index of a symbol in unsigned char and extracting contents?

fuzzybabybunny:
I have an Arduino function that must take a byte type as an argument.

    void someFunction(byte* payload) {

No, it takes a pointer to a byte.

Is it a properly NULL terminated 'C' string? If so, strtok() will do the job (with proper casting).