string.Split
string Source = "abc@gmail.com"; char[] dest; Source.CopyTo(3 ,dest,0,4); console.write(Source); console.writeline(dest);
string s = "sk.shrinet@gmail.com"; string[] words = s.Split('@'); foreach (string word in words) { Console.WriteLine(word); }
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)