getDelimiter Method

Class: Row

Description

This method returns the delimiter character used by the Row object.

Syntax

Row.getDelimiter()

Parameters

None

 

Returns

A string containing the delimiter.

When Became Available

Profile v7.0

Example

// create a ResultSet

type ResultSet rs = Db.select( "NAM,DOB,TYPE", "CIF")

 

// create a Row object (all columns will be NULL)

type Row rRow = rs.getRow()

 

// use it to obtain the delimiter used by the resultset

type String sDlim = rRow.getDelimiter() // the delimiter

 

// writes "Data separated by $CHAR(9)"

write "Data separated by $CHAR(",sDlim.ascii(),")"