spark_connect_rs::functions

Function left

Source
pub fn left(str: impl Into<Column>, len: impl Into<Column>) -> Column
Expand description

Returns the leftmost len(len can be string type) characters from the string str, if len is less or equal than 0 the result is an empty string.