loadText

v0.1.7
loadText(file_path);

Read a file as a string.

Arguments

file_pathThe path of the file

file = loadText("./your-file.txt");
print(file);

Output

See loadText in io.h