loadText

fnLStr loadText(IStr path, IStr file = __FILE__, Sz line = __LINE__)

Loads a text file and returns the contents as a list. Uses the assets path unless the input starts with `/` or `\`, or isUsingAssetsPath is false. Path separators are normalized to the platform's native format.