Share via


Column.SubStr Method

Definition

Overloads

SubStr(Column, Column)

An expression that returns a substring.

SubStr(Int32, Int32)

An expression that returns a substring.

SubStr(Column, Column)

An expression that returns a substring.

public Microsoft.Spark.Sql.Column SubStr (Microsoft.Spark.Sql.Column startPos, Microsoft.Spark.Sql.Column len);
member this.SubStr : Microsoft.Spark.Sql.Column * Microsoft.Spark.Sql.Column -> Microsoft.Spark.Sql.Column
Public Function SubStr (startPos As Column, len As Column) As Column

Parameters

startPos
Column

Expression for the starting position

len
Column

Expression for the length of the substring

Returns

New column that is bound by the start position provided, and the length.

Applies to

SubStr(Int32, Int32)

An expression that returns a substring.

public Microsoft.Spark.Sql.Column SubStr (int startPos, int len);
member this.SubStr : int * int -> Microsoft.Spark.Sql.Column
Public Function SubStr (startPos As Integer, len As Integer) As Column

Parameters

startPos
Int32

Starting position

len
Int32

Length of the substring

Returns

New column that is bound by the start position provided, and the length.

Applies to