TextIo.inFieldDelimiter Method

Gets or sets the character that is used for the field delimiter of an input file represented by a TextIO object.


public str inFieldDelimiter([str value])

Called

Parameter

Description

value

The character to be used as the field delimiter; optional.

The character used as the field delimiter.

To set the field delimiter for an output file, use TextIo.outFieldDelimiter Method.

The following example sets the field delimiter for an input file to '\r\n'.

protected void openFile()
{
    #define.delimiter('\r\n')
    ;
    super();
    importFile.inFieldDelimiter(#delimiter);
}

Community Additions

ADD
Show: