Compartir a través de


TextIo.inFieldDelimiter Method

Definition

Overloads

inFieldDelimiter()

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

inFieldDelimiter(String)

inFieldDelimiter()

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

public:
 override System::String ^ inFieldDelimiter();
public override string inFieldDelimiter ();
override this.inFieldDelimiter : unit -> string
Public Overrides Function inFieldDelimiter () As String

Returns

The character used as the field delimiter.

Remarks

To set the field delimiter for an output file, use

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

Applies to

inFieldDelimiter(String)

public:
 override System::String ^ inFieldDelimiter(System::String ^ _value);
public override string inFieldDelimiter (string _value);
override this.inFieldDelimiter : string -> string
Public Overrides Function inFieldDelimiter (_value As String) As String

Parameters

_value
String

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

Returns

Applies to