Keywords - Function groups - @ A B C D E F G H I J K L M N O P Q R S T U V W X Y Z

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

Example:
str = "l"|"le"|"len"
strlen(str)

Result:
Contents of strlen

[1,]        1
[2,]        2
[3,]        3



(C) MD*TECH Method and Data Technologies, 05.02.2006