>  Docs Center  >  Libraries  >  ASTROLIB  >  REPCHR

REPCHR

REPCHR

Name


      REPCHR

Purpose


      Replace all occurrences of one character with another in a text string.

Category


Calling Sequence


      new = repchr(old, c1, [c2])

Inputs


      old = original text string. in
      c1 = character to replace. in
      c2 = character to replace it with. in
            default is space.

Keyword Parameters


Outputs


      new = edited string. out

Common Blocks


Notes


Modification History


      R. Sterner. 28 Oct, 1986.
      Johns Hopkins Applied Physics Lab.
      RES 1 Sep, 1989 --- converted to SUN.
      R. Sterner, 27 Jan, 1993 --- dropped reference to array.
  Copyright (C) 1986, Johns Hopkins University/Applied Physics Laboratory
  This software may be used, copied, or redistributed as long as it is not
  sold and this copyright notice is reproduced on each copy made. This
  routine is provided as is without any express or implied warranties
  whatsoever. Other limitations apply as described in the file disclaimer.txt.
Converted to IDL V5.0 W. Landsman September 1997



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