开发者

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.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜