I want to split a string with Tabstops. What is the correct char[] equivalent for usage with
Split.(char[] x, int i)
I want to split a string with Tabstops. What is the correct char[] equivalent for usage with
Split.(char[] x, int i)
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: