strlen

Prototype

Arguments

Return value

Returns integer value(s) dimensioned the same as the input containing the corresponding
length of each input string argument(s).

Description

This function determines the length of each string in its input, and returns
those lengths dimensioned the same as the input. Note that uninitialized strings,
which are assigned a value equal to the default
missing value
for strings, result in the length of such strings being set to the
value of NCL's default
missing value
for variables of type integer, and the
_FillValue
attribute is set for the return value.