string a = " 1-2-3-4-5-6-7-8-9 " ; string [] b = a.Split( new Char[] ... { '-' } ); for ( int i = 0 ; i < b.Length; i ++ ) Console.WriteLine(b[i]); Console.Read();