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

WORDORDER

WORDORDER

Name


      WORDORDER

Purpose


      Re-arrange words in a text string.

Category


Calling Sequence


      NEW = WORDORDER( OLD, ORDER)

Inputs


      OLD = input text string. Words delimited by spaces. in
      ORDER = array of word numbers. Indicates in
              order of words in NEW.

Keyword Parameters


Outputs


      NEW = resulting text string. Any multiple spaces out
            will be squeezed to single spaces.

Common Blocks


Notes


Modification History


      R. Sterner. 29 Oct, 1986.
      R. Sterner 27 Dec, 1989 --- converted to SUN.
      R. Sterner, 2010 Jun 07 --- Converted arrays from () to [].
  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.



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