string strHeader = "Rk | Prabakar ; Mani | Kandan ; Suraj | Kumar;" string[] strTemp = strHeader .Split(';'); foreach(var a in strTemp) { for (int i = 0; i < count; i++) { strZapper = // Need to read left string eg: "Rk " strMapper = // Need to read right string eg: " Prabakar" } }
string[] strTemp = strHeader .Split(new char[]{ ';', '|', }, System.StringSplitOptions.RemoveEmptyEntries);
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)