>  Docs Center  >  Libraries  >  JHU/APL/S1R  >  GETSTR






      Get delimited strings from a text string or array.


Calling Sequence

      s = getstr(txt)


      txt = input text string or string array. in

Keyword Parameters


        LINE=line Returned array of indices into txt.
        CH1=ch1 Returned array of string start character.
        CH2=ch2 Returned array of string end character.


      s = Returned array of strings found. out

Common Blocks


      Notes: Delimited strings must be surrounded by
        a single or double quote. The other type of
        quote may be contained within the delimited string.
        The strings may be separated by white space, commas,
        or any other kind of separator.
        If no strings are found a null string is returned.
        Only delimited strings are returned, all other items
        are ignored. The string position arrays, line,ch1, and
        ch2, have as many elements as returned strings in s.

Modification History

      R. Sterner, 1995 Apr 10
      R. Sterner, 2009 Oct 29 --- Added keywords LINE, CH1, CH2.
  Copyright (C) 1995, 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.

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