Text Loader

This loader reads the contents of the file as text and returns it as a string.

File Format

The file is read as a text and the contents returned as a string. e.g. for the following file saved with an extension of line:

These are a few
lines of a text
file.
        

The above would return the following string:

These are a few
lines of a text
file.
        

Use

  1. Create an txt file in your inventory, containing all the required text, as detailed in the file format. e.g Lets assume you create a file called sometext.txt.
  2. To use the connection within a script, we just have to refer to the name of the txt file, e.g.
    sometext
                
    and this will load the connection for us. This can then be used just like any other list.

Notes