Next Previous Contents

73. strlow

Synopsis

Convert a string to lowercase

Usage

String_Type strlow (String_Type s)

Description

The strlow function takes a string s and returns another string identical to s except that all upper case characters that comprise s will be converted to lower case.

Example

The function

    define Strcmp (a, b)
    {
      return strcmp (strlow (a), strlow (b));
    }
performs a case-insensitive comparison operation of two strings by converting them to lower case first.
See Also

strup, tolower, strcmp, strtrim, define_case


Next Previous Contents