ADD_COLUMN_BEFORE

Adds a column to TargetFrame before a TargetColumnName, named ColumnName of type ColumnType.

Syntax

ADD_COLUMN_BEFORE(targetFrame, targetColumnName|targetColumnOffset, columnNameToAdd, [columnType = string])
  • targetFrame - Target Frame.

  • targetColumnName | targetColumnOffset - Target Column Name or Column Offset.

  • columnNameToAdd - Column Name To Add.

  • [columnType = string] - Column type.

Sample Usage

ADD_COLUMN_AFTER(C1, "number", "point")

Return Value

  • TRUE if function modified the targetFrame.

  • FALSE otherwise.

Notes

In order for ADD_COLUMN_BEFORE to work the first argument targetFrame must be a FRAME.

See Also

Last updated

Was this helpful?