Function datafusion::physical_expr::string_expressions::initcap
source · pub fn initcap<T>(
args: &[Arc<dyn Array>]
) -> Result<Arc<dyn Array>, DataFusionError>where
T: OffsetSizeTrait,
Expand description
Converts the first letter of each word to upper case and the rest to lower case. Words are sequences of alphanumeric characters separated by non-alphanumeric characters. initcap(‘hi THOMAS’) = ‘Hi Thomas’