Is it possible to use the linebreak as custom delimiter? wiki here.
I know I can use loop to read the lines in variables. But it would be nice to use linebreak as custom delimiter to quickly get a certain line in a variable.
To arrange elements in lines is easier for us to read and edit. But I don't know if it is possible to use linebreak as delimiters. In the example below, I use * as delimiter. The problem is that the variables (expect for the first line) now include the linebreak.
The 2nd, 3rd, and 4th elements have a linebreak before. The 1st does not have line break. I don't want any linebreak.
I use line delimiting frequently, but I do so indirectly. First, I read the document to a variable. Then I regex \R and replace with ~@return@~. Then I can access, say, the 14th line as %Variable%Whatever[14]~@return@~% in any macro.