Index Page
cspice_lastnb
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_LASTNB returns the integer value for the
   index of the final non-blank (not a space) character 
   in a character string. Recall IDL & C number indices
   starting with 0.

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

I/O

   
   Given a string 'str', return the index of the final
   non-blank character:
   
      last = cspice_lastnb ( str )
   

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.

   
      print, cspice_lastnb( '01234567   ' )
              7
   
      print, cspice_lastnb( '    01234567   ' )
             11
   
      print, cspice_lastnb( ' 01234567   ' )
              8

Particulars


   None.

Required Reading


   ICY.REQ

Version


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

Index_Entries


   last non-blank character




Wed Apr  5 17:58:02 2017