M
M
martensit2018-07-18 03:16:34
C++ / C#
martensit, 2018-07-18 03:16:34

How to turn a string into an array delimited by "\r\n" in c#?

How to turn a string into an array delimited by "\r\n" in c#?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
M
martensit, 2018-07-18
@martensit

string[] mass = mystring.Split(new[] {Environment.NewLine}, StringSplitOptions.None);

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question