Next: List Functions

Prev: Data Functions

String Functions

The functions described in this section allow you to perform operations on strings. All of the functions described in this section are case-insensitive except for strcmp() and, if specified, match_regexp().

Menu:

crypt
Perform one-way encryption on a string
explode
Get a list of words in a string
lowercase
Convert a string to lowercase
match_begin
Match against the beginnings of words
match_pattern
Match against a wildcard pattern
match_regexp
Match against a regular expression
match_template
Match against a command template
pad
Pad a string to a given length
strcmp
Case-sensitive comparison of two strings
strlen
Get the length of a string
strsub
Substitute text within a string
substr
Get a substring of a string
uppercase
Convert a string to uppercase