len_str

Function len_str 

Source
pub fn len_str<'a, T: Integer + Copy>(
    input: StringAVT<'a, T>,
) -> Result<IntegerArray<T>, KernelError>
Expand description

Computes the character length of each string in a StringArray<T> slice, returning an IntegerArray<T> with the same length and null semantics.

This applies to a windowed slice (offset, len) of the input array. The output null mask mirrors the sliced portion of the input mask.

§Parameters

  • input: A (StringArray<T>, offset, len) tuple defining the slice to operate on.

§Returns

An IntegerArray<T> of the same length, with each element representing the character count of the corresponding (non-null) string value.