| Group: | String Manipulation |
| See also: | atof string substr |
| Function: | strlen | |
| Description: | strlen returns the length of a string, i.e. the number of characters in the string. |
| Usage: | z = strlen (str) | |
| Input: | ||
| str | n x 1 string vector | |
| Output: | ||
| z | n x 1 integer vector, length of each string in str | |
str = "l"|"le"|"len" strlen(str)
Contents of strlen [1,] 1 [2,] 2 [3,] 3
| Group: | String Manipulation |
| See also: | atof string substr |