read-lines

www.altova.com Print this Topic Previous Page Up One Level Next page

Home >  Expression Functions > File System Functions >

read-lines

Reads the lines from the given file and returns them as a list of strings.

 

Signature

read-lines(filename:string, encoding:string="UTF-8") -> list of string

 

Parameters

Name

Type

Description

filename

string

Specifies the path to a file.

encoding

string

Specifies the encoding to use. The default encoding is 'UTF-8'.


© 2019 Altova GmbH