Share via


TextIo.inFieldDelimiter Method

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

Syntax

public str inFieldDelimiter([str value])

Run On

Called

Parameters

  • value
    Type: str
    The character to be used as the field delimiter; optional.

Return Value

Type: str
The character used as the field delimiter.

Remarks

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

Examples

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); 
}

See Also

TextIo Class

TextIo.inRecordDelimiter Method