Index Page
cspice_lcase
A  B  C  D  E  F  G  H  I  J  K  L  M  N  O  P  Q  R  S  T  U  V  W  X 

Abstract
I/O
Examples
Particulars
Required Reading
Version
Index_Entries

Abstract


   CSPICE_LCASE converts the characters in an input string 
   to lower case.

   For important details concerning this module's function, please refer to
   the CSPICE routine lcase_c.

I/O

   
   Given
   
      in   an arbitrary scalar string to convert to lower
           case
   
       The routine allocates memory for the 'out' string based on 
       the length of the 'in' string. An 'in' string with length
       zero is an no-op.
   
   the call:
   
      cspice_lcase, in, out
   
   returns:
   
      out   a scalar string copy of 'in' with all letter 
            characters converted to lower case
   
   IDL native code to perform the same operation:
   
      out = strlowcase (in)
   

Examples


   Any numerical results shown for this example may differ between
   platforms as the results depend on the SPICE kernels used as input
   and the machine specific arithmetic implementation.

   
      ;;
      ;; A string of upper case characters.
      ;;
      up_string = 'CARTHAGO DESTRUCTUS EST'
   
      ;;
      ;; Convert up_string to lowercase. 
      ;;
      cspice_lcase, up_string, lower
      print, lower
   
   IDL outputs:
   
      carthago destructus est

Particulars


   None.

Required Reading


   ICY.REQ

Version


   -Icy Version 1.0.0, 16-JUN-2003, EDW (JPL)

Index_Entries

 
   convert to lowercase 
 



Wed Apr  5 17:58:02 2017