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 


Group: String Manipulation
See also: atof string substr

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

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