string.h

lpmoo-1.2/mudlib/std/string.h · 646 B

From the archive lpmoo-1.2.tar.gz

Download the archive   « Back to the archive contents

/*
 * NAME:	string.h
 * DESCRIPTION:	prototypes and constants for string.c
 */

# define SPACES \
  "                                                                           "

static int strchr(string str, int char);
static int strrchr(string str, int char);

static varargs string column_list(string *items, int maxwidth, int pad);

static string toupper(string str);
static string tolower(string str);

static string subst(string str, int index, int len, string newsubst);
static string strip_whitespace(string str);

static string escape_sscanf_str(string str);
static string escape_str(string str);
static string unescape_str(string str);

Site Stats

Snippets: 1791
Codebases: 571