Main Page   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members   File Members  

djstring.h File Reference

Some string helper functions. More...


Functions

char* djStrDeepCopy (const char *src)
 Make a deep copy of string. Must be deleted with "delete".

char* djStrDeepCopy (const char *src, int n)
void djStrToLower (char *str)
 Convert string in-place to uppercase.

char* djStrPart (char *str, int i, char *delim)
 For returning sections of strings using given delimiters. i is 1-based eg djStrPart("a,b;c,d", 3, ",;") should return "c" You are responsible for deleting the string it returns.


Detailed Description

Some string helper functions.

Author:
David Joffe


http://www.scorpioncity.com/djgame.html
Copyright (C) David Joffe. Generated: 15 Jul 2001