String Functions

String functions can be used in expressions for comparing, searching, finding the length of, setting, and concatenating strings.
Function Definition
strlen(String) Returns the length of a string
strcmp(String1,String2) Compares two strings and returns 0 if equal
stricmp(String1,String2) Does a case insensitive comparision
strstr(Haystack,Needle) Finds a string in another string
strcpy(Destination,Source) Copies a string
strcat(Destination,Source) Concatenates a string to another string

Examples:
#alias {FindLength} {#set Length = strlen("%0")}
#strcpy(Name,"Bob")
#strcat(Name," Smith")
Use unix man pages or a c compiler's help files for more details.

See Also: If, Else, ElseIf, While, Set