AIRES library reference: strim.


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
      subroutine strim(sslen, string, slen)
c
c     Eliminating leading and trailing blanks (or special characters)
c     from a string.
c
c     Written by: S. J. Sciutto, La Plata 1996, 1997, 2001, 2003.
c
c
c     Arguments:
c     =========
c
c     sslen........... (input, integer) String length indicator. If
c                      sslen > 0 then sslen is used to set the position
c                      of the last character to scan. If sslen = 0, it
c                      is assumed that the position of the last
c                      character to scan is initially stored in
c                      argument slen. If sslen < 0 then the position of
c                      the last character is the length of "string".
c     string.......... (input-output, character*(*)) The string
c                      to process.
c     slen............ (input-output, integer) String length, or
c                      position of the last character.
c
c
c<--->


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