getText

abstract fun getText(@IntRange(from = 0) index: Int): String

Returns the value of the requested column at the given zero-based index as an String.

If the column value is NULL, the result is empty string "". To distinguish between a NULL value and a stored "", use the isNull method.

Return

The value of the column as an String.

Parameters

index

The zero-based index of the column.

See also

Throws

if the index is out of bounds.