I have created a file where I save line-by-line data as morada|nome|telefone|nif
, meaning each variable stored in the file is divided by |
.
I remember there being a method of dividing this line into 4 to add to a dataGridView without using Substrings or IndexOf ... Is there any faster way to do it?
For example, I want to add morada
to one column, nome
to another, and so on ...