There is a text file where logs are written, its lines look like
INFO 10-04 22:09:10 DataLayer 11 Log - userId = 1050.
We need to somehow break these strings into elements of a string array, so that each element of this array contains the necessary part of the data. And it looked like this:
["Info"]["10-04 22:09:10"]["DataLayer"]["11"]["Log"]["- userId = 1050."] where [] is each element of the array, I tried through Split ("") - I gave out 61 elements, with a bunch of elements containing just spaces. And I just need to highlight the words, everything is complicated by the fact that there are many spaces in the line, and it is not correct to split the spaces, as there are ordinary phrases where the space is not as a column separator, but as a simple speech space. How can this be solved?