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






      Extract and returned words tagged with a specified symbol.


Calling Sequence

      taggedwords, txt, tw


      txt = Input text string. in

Keyword Parameters


        TAG=tag Special symbol at front of tagged words (def='#').
        /REMOVE Remove tags from words in txt.
        /UNIQUE Only return one occurence of each tagged word.
        COUNT=ntag Optionally returned number of tagged words.
          Useful as an error flag, 0 means no tags found.


      tw = Returned array of tagged words. out

Common Blocks


      Notes: Words are tagged by putting a special symbol at
      their front, like #cat, #dog, ... Multiple groups of tagged
      words may be handled by using different tags:
      #cat, $fish, #dog, $bird. Each group may then be accessed
      independently. The tagged words may be names of variables.
      In that case the /REMOVE keyword can be used to remove the
      tags from the string after finding the list of tagged words.

Modification History

      R. Sterner, 2005 May 13
  Copyright (C) 2005, 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.

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