AIRES library reference: wordlocate.


c
c     Routine directly callable from C/C++ (it could be necessary to
c     append an underscore, "_", to its name depending on the C/C++
c     compiler used).
c
c
      function wordlocate(string, words, separator, minlen0)
c
c     Comparing a string against several words concatenated in another
c     string, and returning the ordinal corresponding to the first
c     matching word.
c
c     Written by: S. J. Sciutto, La Plata 1999.
c
c
c     Arguments:
c     =========
c
c     string.......... (input, character*(*)) The word to locate.
c     words........... (input, character*(*)) The list of words.
c     separator....... (input, character*(*)) Character used to
c                      separate words.
c     minlen0......... (input, integer) The minimum number of
c                      characters that must be provided. In case the
c                      length of "string" is less than minlen0, then
c                      an exact matching will be searched for.
c
c     Return value: (integer) The ordinal of the matching word or zero
c     ============  if there are no matches.
c
c
c<--->


These pages are maintained by
Sergio J. Sciutto
Back to AIRES library index
Back to AIRES home [HOME]