VMS Help  —  CRTL  strsep  Example
      The following example uses strsep to parse a string, containing
      token delimited by white space, into an argument vector:

        char **ap, **argv[10], *inputstring;

        for (ap = argv; (*ap = strsep(&inputstring, " \t")) != NULL;)
             if (**ap != '\0')
                 ++ap;
Close Help