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

FNDWRD

FNDWRD

Name


      FNDWRD

Purpose


      Find number, locations, lengths of words in a text string.

Category


Calling Sequence


      fndwrd, txt, nwds, loc, len

Inputs


      txt = text string to examine. in

Keyword Parameters


Outputs


      nwds = number of words found in txt. out
      loc = array of word start positions (0=first). out
      len = array of word lengths. out

Common Blocks


Notes


      Note: Words must be separated by spaces or tabs.

Modification History


      Ray. Sterner, 11 Dec, 1984.
      RES Handle null strings better. 16 Feb, 1988.
      Johns Hopkins University Applied Physics Laboratory.
      RES 18 Sep, 1989 --- converted to SUN
      BLG 9 Dec, 1992 --- Modified to use tabs as delimiters as well.
      2010 Jun 03 --- added delimiter.
  Copyright (C) 1984, 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