psubstr

NAME
SYNOPSIS
DESCRIPTION
AUTHOR
LICENSE
VERSION

NAME

psubstr - return a substring of a string

SYNOPSIS

#include <pstring.h>

char *psubstr (pool, const char *str, int offset, int len);

DESCRIPTION

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.

AUTHOR

Richard Jones <rich@annexia.org>

LICENSE

GNU LGPL (see http://www.gnu.org/)

VERSION

c2lib-1.2.13