About Chandra Archive Proposer Instruments & Calibration Newsletters Data Analysis HelpDesk Calibration Database NASA Archives & Centers Chandra Science Links

Skip the navigation links
Last modified: December 2006

URL: http://cxc.harvard.edu/ciao3.4/strlow.tm.html
Hardcopy (PDF): A4 | Letter
AHELP for CIAO 3.4 strlow Context: slangrtl

Synopsis

Convert a string to lowercase

Syntax

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.

Hardcopy (PDF): A4 | Letter
Last modified: December 2006



The Chandra X-Ray Center (CXC) is operated for NASA by the Smithsonian Astrophysical Observatory.
60 Garden Street, Cambridge, MA 02138 USA.    Email: cxcweb@head.cfa.harvard.edu
Smithsonian Institution, Copyright © 1998-2004. All rights reserved.