This property sets record separator of the text file.
Syntax
object.LineDelimiter = integer
object
This specifies object expressions that define references to objects.
integer
This sets record separator. As for values to be set, refer to the following setting value.
Setting value
Setting values of the LineDelimiter property are as follows.
Setting value | Meaning |
---|---|
0 | CRLF (Default value) |
1 | CR |
2 | LF |
Description
The record separator can be selected from CRLF (return line feed), CR (return) or LF (line feed).
The text file of a typical format is separated with CRLF.
As for the number of bytes of the record separator, CR and LF are 1 byte and CRLF is 2 bytes. When the code system of the input file is Unicode system (UCS-2 form), CR and LF are 2 bytes and CRLF is 4 bytes.
Specify the record length of the text file including the length of the record separator.
When this specification is omitted, the record separator is CRLF.
Note
When two or more record separator exists in the input file, it is not possible to operate normally.