File.readFileAsString()

Signature

String readFileAsString(String filePath, [String encoding = $1UTF-8$1])

Domain

ACTION, BUI

Description

Read the contents of the specified file and return a string.

Parameters

NameTypeDescription
filePathStringThe file to read
encodingArgumentsStringEncoding used. Optional Parameter. Default value = $1UTF-8$1

Returns

TypeDescription
StringContents of the file

Cautions

none