If I read my text file into a Table, each table index contains a line from the text file, correct? What I need to do is be able to use a specific line with other functions, but although the Help seems to suggest that an individual index will be accepted as a string, this does not work when the string is created by TextFile.ReadToTable.
So, I thought this might work:
tTable = {};
tTable = TextFile.ReadToTable(MyInfo);
sTable = Table.Remove(tTable, 1);
Table.Remove invokes an error:
On Preload, Line 171: Argument 1 must be of type table.
Now, tTable[1], for example, contains a string (first line of the text file) but the following fails too:
sNewString = String.Concat("MyPrefix = \"", tTable[1]);
So what is the correct way to use a table value that contains a string, as a string?![]()

Reply With Quote

