Skip to content

str::column

column(input: String, index: Integer)
column(input: String, index: Integer, divider: String)

ParameterTypeDescription
inputStringA string consisting of several columns.
indexIntegerThe index of the column.
(optional) dividerStringThe character sequence that divides the column. Default: "\t"

Gets a column from a multi-line string.

Returns

(Generator) A list of lines within the specific column.