Functions.Substring(Column, Int32, Int32) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Returns the substring (or slice of byte array) starting from the given position for the given length.
public static Microsoft.Spark.Sql.Column Substring (Microsoft.Spark.Sql.Column column, int pos, int len);
static member Substring : Microsoft.Spark.Sql.Column * int * int -> Microsoft.Spark.Sql.Column
Public Shared Function Substring (column As Column, pos As Integer, len As Integer) As Column
Parameters
- column
- Column
Column to apply
- pos
- Int32
Starting position
- len
- Int32
Length of the substring
Returns
Column object
Remarks
The position is not zero based, but 1 based index.