string str="stat-1-1-2:ttf_3l2-1: 0:35:11:34";
string x=str.split(':')[0].tostring();
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)