0

I want to split a string with Tabstops. What is the correct char[] equivalent for usage with

Split.(char[] x, int i)

2 Answers2

1

The correct code would be:

var output = input.Split('\t');

This will split the input string into an array of string's, separated by tab characters.

Further reading:

p.s.w.g
  • 146,324
  • 30
  • 291
  • 331
0

You can use the above ControlChars.Tab

kostas ch.
  • 1,960
  • 1
  • 17
  • 30