Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon. Entire thread

What's a good name for...

Name: Anonymous 2012-06-04 11:08

A function that's like strchr or strrchr, but finds either the first or last character of a string that is NOT equal to the given character?

Name: Anonymous 2012-06-05 7:55

>>4,5
No, strspn doesn't do what I want, even if I switch the arguments around--it's based on equality. Nor does strcspn do it either, it just returns an offset instead of a pointer.

I'm going to name them as strxchr, strnxchr, strrxchr, strnrxchr, etc.

Newer Posts
Don't change these.
Name: Email:
Entire Thread Thread List