string inputText = "Sample Text"; string[] arrayString = inputText.Split(" ".ToCharArray()); foreach (string s in arrayString) { Console.WriteLine(s); } Console.ReadLine();
--------------------------------------- Live the life you've dreamed Regards MADHU
____________ www.flickr.com/photos/psdesigner/
------------------------------------------------ Learn throughout life
string s = "APPLE"; foreach (char c in s) { Console.WriteLine(c); }
Life is a Race Thanks & Regards By Sabari Mahesh P M
Login to post response