how to isolated string that contain TAB?
i have this string:
i[TAB]like[TAB]Stackoverflow
and i ne开发者_StackOverflowed to get this:
i
like
Stackoverflow
how to do it in C# ?
thanks in advance
mystring = mystring.Replace("\t","\r\n\r\n");
If by "isolated" you mean explode that into an array,
return thatString.Split("\t");
str.Split("\t");
will return an array of strings.
精彩评论