Function datafusion::physical_expr::unicode_expressions::substr
source · pub fn substr<T>(
args: &[Arc<dyn Array>]
) -> Result<Arc<dyn Array>, DataFusionError>where
T: OffsetSizeTrait,
Expand description
Extracts the substring of string starting at the start’th character, and extending for count characters if that is specified. (Same as substring(string from start for count).) substr(‘alphabet’, 3) = ‘phabet’ substr(‘alphabet’, 3, 2) = ‘ph’ The implementation uses UTF-8 code points as characters