SciPy

numpy.char.str_len

numpy.char.str_len(a)

Return len(a) element-wise.

Parameters:
a : array_like of str or unicode
Returns:
out : ndarray

Output array of integers

See also

__builtin__.len

Previous topic

numpy.char.startswith

Next topic

numpy.char.array