Previous IDL Reference Guide: Functional List of IDL Routines Next

String Processing

FILE_BASENAME - Returns the basename of a file path.

FILE_DIRNAME - Returns the dirname of a file path.

STRCMP - Compares two strings.

STRCOMPRESS - Removes whitespace from a string.

STREGEX - Performs regular expression matching.

STRING - Converts arguments to string type.

STRJOIN - Collapses a string scalar or array into merged strings.

STRLEN - Returns the length of a string.

STRLOWCASE - Converts a string to lower case.

STRMATCH - Compares search string against input string expression.

STRMID - Extracts a substring from a string.

STRPOS - Finds first occurrence of a substring within a string.

STRPUT - Inserts the contents of one string into another.

STRSPLIT - Splits its input string argument into separate substrings, according to the specified pattern.

STRTRIM - Removes leading and/or trailing blanks from string.

STRUPCASE - Converts a string to upper case.

  IDL Online Help (March 06, 2007)