strlen
Syntax
strlen(X)
Arguments
X is a string scalar/vector.
Details
Return the length of each string in X.
Examples
strlen(`XOM);
// output
3
strlen(`XOM`MSFT`F`GM);
// output
[3,4,1,2]
strlen("Hello World!");
// output
12
strlen(X)
X is a string scalar/vector.
Return the length of each string in X.
strlen(`XOM);
// output
3
strlen(`XOM`MSFT`F`GM);
// output
[3,4,1,2]
strlen("Hello World!");
// output
12