Returns the value of the specified column as string.
Syntax
XIH.GetText(colcaption)
XIH.GetText(colcaption, offset)
XIH.GetText(colIndex)
XIH.GetText(colIndex, offset)
Parameters
Parameter | Data type | Description | Sample |
---|
colcaption | string | String specifies the columns caption. | "col1" |
colIndex | int | Index of a column | 2 |
offset | int | Optionally specifies the row offset. Default is 1 | 4 |
ColumnIndex is zero-based.
A statement with an offset returns an empty string after reaching the end of the column due to the offset.
Can convert any type.
Returns a string.
Examples