```
*pnext++ = '\0';
while (*pnext && isspace(*pnext)) pnext++;
```