fileLoadString

Category: File IO

Syntax:

fileLoadString:String(filepath:String, encoding:Int)


Parameters

Returns

String



Summary

Loads an entire file as a string with specified text encoding.

Takes a file path and encoding value (0=ANSI, 1=UTF-8, 2=UTF-16 LE).

Returns the file contents as a string, or an empty string if the file doesn't exist or is empty.

View detailed documentation online



Example

;No example implemented yet


BambooBasic © 2026 Michael Denathorn