Read Text File

Reads the text file with the specified encoding and returns it as a string.


⬅️INPUT

Parameter

Type

Required

Description

FilePath

String

✅Yes

File path

EncodingName

String

❌No

Encoding

AppendIfExists

Boolean

❌No

Legacy


➡️OUTPUT

Parameter

Type

Description

IsReadTextFileSuccessful

Boolean

Success

ReadTextFileMessage

String

Message

ReadTextFileResult

String

Text


⬇️MISC

Parameter

Type

Default

Description

ThrowException

Boolean

❌No

Throw exception on error