Partir cadena (char)

#include <String.h>


void setup() 
{

  
Serial.begin(9600);
char str[] = "uno;dos;tres;cuatro;";
char *pch;
int i=0;
 pch = strtok (str,";");
String buff[sizeof(str)];
  while (pch != NULL)
  {
   buff[i]=(pch);
    pch = strtok (NULL, ";");i++;
  }
  
  
  for(int x=0;x<i;x++){
 Serial.println( buff[x]);
  
  }
  i=0;

}

void loop () {

 
  
  
}

By Omni