[03/05/01]---------------------------------------------------------------

                             GetSeg library 1.0
                              By Digital Monkey
                          (dmonkey@edsamail.com.ph)

                GetSeg parses a string into segments. It then allows the user
to extract a segment from the string.

Functions:
---
      GetSegCount in_str:DWORD,delim:BYTE

                Gets the segment count of a string

        Parameters:

                in_str  -  Contains the string to be processed
                delim   -  The delimiting character
        
        Return value:

                The return value is the segment count


---
      GetSegStr in_str:DWORD, seg_num:DWORD, delim:BYTE, out_str:DWORD

                Extracts a segment from a string

        Parameters:

                in_str  -  Contains the string to be processed
                seg_num -  Segment number of the segment to be extracted
                delim   -  The delimiting character
                out_str -  The extracted segment

        Return value:

                This function does not return any value


General comments:
* I got the term "delimiting character" from the MAN page of `sort' in
  Linux. A delimiting character is a character that serves as a boundary
  where you cut the string into segments.
* The 2 functions have a limit of only 1024 bytes of data to be processed.


I hope you find this library useful ! :-)

----------------------------------------------------------------------EOF
