nchar

nchar(x)

Return the number of characters in a string. Vectorised.