String n="H23O10T11";
int a,b,c,i1,i2;
String x,y,z;
void setup() {
  // put your setup code here, to run once:
  if(n.startsWith("H")){
i1=n.indexOf("O");
i2=n.indexOf("T");
x=n.substring(1,i1);
y=n.substring(i1+1,i2);
z=n.substring(i2+1);
Serial.begin(9600);
Serial.println(x);
Serial.println(y);
Serial.println(z);
  }
}

void loop() {
  // put your main code here, to run repeatedly:

}