I would like to extract labels and data from a string using php. The string looks like this:
Label: Info;
Label1: Info1;
Label2: Info2;
Label3: Info3;
..............
My solution is to use strpos for every label , retain it in a variable and extract data for that label which is too slow. Could you suggest me another method ?