XP is just a number | |
PerlMonks |
Re: Re: Regexes are slow (or, why I advocate String::Index)by Fletch (Bishop) |
on May 15, 2004 at 03:18 UTC ( [id://353553]=note: print w/replies, xml ) | Need Help?? |
char *strpbrk(const char *s, const char *charset);
It takes a string (char*) and returns a pointer (char *) to the position to break out the portion of the first string at a position with a character from the charset string. OK, not much better. But it is more or less orthagonal to things such as compare no more than n characters from two strings (strncmp()).
In Section
Meditations
|
|