function length
Returns the length of the string X.

Syntax
result = length(X)