pub fn lpad<T>(
    args: &[Arc<dyn Array>]
) -> Result<Arc<dyn Array>, DataFusionError>
where T: OffsetSizeTrait,
Expand description

Extends the string to length ‘length’ by prepending the characters fill (a space by default). If the string is already longer than length then it is truncated (on the right). lpad(‘hi’, 5, ‘xy’) = ‘xyxhi’