I do have a simple text file with multiple lines of text.
My goal is to have a script which creates an array (in a new file) with those text lines. Every single text line should be a new entry of the array:
I've tried something, but I was not able to read in the text lines to the array.
Has somebody an idea idea how this could work?
My goal is to have a script which creates an array (in a new file) with those text lines. Every single text line should be a new entry of the array:
I've tried something, but I was not able to read in the text lines to the array.
Code: Select all
UltraEdit.newFile();
for (var i=0; i<=NumberOfTextLines; i++)
{
UltraEdit.activeDocument.write('\noSeminarDe[' + i + '] = \"' + TextLine[i] + '\";');
}