Column.StartsWith Method

Definition

Overloads

StartsWith(Column)

String starts with. Returns a boolean column based on a string match.

StartsWith(String)

String starts with another string literal. Returns a boolean column based on a string match.

StartsWith(Column)

String starts with. Returns a boolean column based on a string match.

public Microsoft.Spark.Sql.Column StartsWith (Microsoft.Spark.Sql.Column other);
member this.StartsWith : Microsoft.Spark.Sql.Column -> Microsoft.Spark.Sql.Column
Public Function StartsWith (other As Column) As Column

Parameters

other
Column

The other column containing strings with which to check how values in this column starts.

Returns

A boolean column where entries are true if values in the current column does indeed start with the values in the given column.

Applies to

StartsWith(String)

String starts with another string literal. Returns a boolean column based on a string match.

public Microsoft.Spark.Sql.Column StartsWith (string literal);
member this.StartsWith : string -> Microsoft.Spark.Sql.Column
Public Function StartsWith (literal As String) As Column

Parameters

literal
String

The string literal used to check how values in a column starts.

Returns

A boolean column where entries are true if values in the current column does indeed start with the given string literal.

Applies to