stringCol
The stringCol
method creates a column containing string object values.
note
This method is commonly used with newTable
to create tables.
Syntax
stringCol(name, data...)
Parameters
Parameter | Type | Description |
---|---|---|
name | String | The name of the new column. |
data | String... | The column values. |
Returns
A ColumnHolder
.
Example
The following examples use newTable
to create a table with a single column of strings named Strings
.
result = newTable(
stringCol("Strings", "Deephaven", "3.14", "Community")
)
- result