Column.starts_with
starts_withothercase_sensitivity
Group: Text
Documentation
Checks for each element of the column if it starts with other
.
Arguments
other
: The value to compareself
with. Ifother
is a column, the operation is performed pairwise between corresponding elements ofself
andother
.case_sensitivity
: Specifies if the text values should be compared case sensitively.
Examples
Check the elements of a column for starting with the elements of
another column.
import Standard.Examples
example_starts_with =
Examples.text_column_1.starts_with Examples.text_column_2
Check the elements of a column for starting with a value.
import Standard.Examples
example_starts_with = Examples.text_column_1.starts_with "hell"
Check the elements of a column for starting with a value comparing case insensitively.
import Standard.Examples
example_starts_with = Examples.text_column_1.starts_with "hell" Case_Sensitivity.Insensitive