Parsing data integer plus letter

I would use

switch( strtokIndx[0] )

like @guix already mentioned and explained.