psubstr - return a substring of a string |
#include <pstring.h> char *psubstr (pool, const char *str, int offset, int len); |
Return the substring starting at offset and of length len of str, allocated as a new string. If len is negative, everything up to the end of str is returned. |
Richard Jones <rich@annexia.org> |
GNU LGPL (see http://www.gnu.org/) |
c2lib-1.2.13 |