fileSaveString

Category: File IO

Syntax:

fileSaveString:Int(str:String, filepath:String, encoding:Int)


Parameters

Returns

Int



Summary

Saves a string to a file with specified text encoding.

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

Returns 1 on success, 0 on failure.

View detailed documentation online



Example

;No example implemented yet


BambooBasic © 2026 Michael Denathorn