Welcome to the Harris Geospatial documentation center. Here you will find reference guides and help documents.


  >  Docs Center  >  Libraries  >  ASTROLIB  >  REMCHAR

REMCHAR

REMCHAR

Name


REMCHAR

Purpose


Remove all appearances of character (char) from string (st)

Calling Sequence


REMCHAR, ST, CHAR

Input-output


ST - String from which character will be removed, scalar or vector

Input


CHAR- Single character to be removed from string or all elements of a
string array

Example


If a = 'a,b,c,d,e,f,g' then
IDL> remchar,a, ','
      will give a = 'abcdefg'
  REVISIONS HISTORY
Written D. Lindler October 1986
Test if empty string needs to be returned W. Landsman Feb 1991
Work on string arrays W. Landsman August 1997
Avoid 32 bit integer overflow K. Tolbert/W. Landsman Feb 2007



© 2019 Harris Geospatial Solutions, Inc. |  Legal
My Account    |    Store    |    Contact Us