Hello guys,
I'm trying split a CSV-text into the array of separate lines. I have a Text array, where the CSV-text is stored, it looks like following:
"Header1, Header2, Header3
Value1, Value2, Value3
Value4, Value5, Value6"
In order to split the text I tried following constructions:
Text.Split('\n');
Text.Split('\\n');
Text.Split('\r\n');
Neither of the above mentioned versions work.
Maybe someone could advise what is the proper way to split text by new lines?