var str="ID:1:A;ID:2:B;ID:3:A;ID:4:c;ID:5:D"
ID:2
var str="ID:1:A;ID:2:B;ID:3:A;ID:4:c;ID:5:D"var result = str.Split(";")[0].Split[":"][2]
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)