Я сделал следующее:
Код: Выделить всё
string str = "This is my style";
string [] output = str.Split(' ');
foreach(string s in output)
{
Console.Write(s[0]+" ");
}
// Output
T i m s
Спасибо
Подробнее здесь: https://stackoverflow.com/questions/471 ... n-a-string
Мобильная версия