Splitting Values, Char to String

I have received data from my bluetooth and i've been trying to split them up by ','

for example
1.3792162;103.848625,1.379228;103.84878,17.012772,85.0

right now, I have worked out this code and it works nicely helping me split the value

String x = "1,2,3,4";
        
l1 = x.indexOf(',');
startLat = x.substring(0,l1);
Serial.println(startLat);

and i am trying to implement it into the loop as my data is being sent in

void loop(){
  if (Serial1.available())   
    {  
        value = Serial1.read();
        Serial.print(value);
        
        // sending in data and splitting them
    }
}

As from what i know, it is sending in Char values, which i cannot use substring to split them,
Any other way I can do this?

Thank you

I have also tried

String readString;
void loop(){
  if (Serial1.available())   
    {  
        c = Serial1.read();
//        String sVal = String(value); // start lat, start long, end lat, end long, distance, angle
//        Serial.print(sVal);

        if (c == '*'){
          Serial.println();
          Serial.print("Capture: ");
          Serial.println(readString);
          
          l1 = readString.indexOf(',');
          startLat = readString.substring(0, l1);
          Serial.print("Start Lat = ");
          Serial.println(startLat);
        }       
      }
}

but it doesn't work, there is no value output in my serial monitor :frowning:

Hi j'b'humans, look up something called "string parsing". There's a lot of good material on the internet, at all the levels - bare noob to cynical expert.