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

STR_REORDER

STR_REORDER

Name


      STR_REORDER

Purpose


      Reorder the columns of a text array.

Category


Calling Sequence


      txt2 = str_reorder(txt,order)

Inputs


      txt = Input text array. in
      order = order string. in
        A list of column ranges, like '0-9,15-19,10-14'
        A range has a start and end column or may be a
        single column. First column is 0.
        Ranges are clipped to text width.

Keyword Parameters


Outputs


Common Blocks


Notes


      Notes: Ranges or single columns may be repeated. Ranges
        may reverse text just by listing the end column first.

Modification History


      R. Sterner, 2011 Sep 01
  Copyright (C) 2011, 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