[Tutor] strings
trypticon at SAFe-mail.net
trypticon at SAFe-mail.net
Tue Dec 9 14:05:32 EST 2003
Hi,
i'm having a little trouble with this exercise problem. We're supposed to create a function called findchr(string,char) which will look for character char in string and return the index of the first occurrence of char, or -1 if char is not part of string. you can't use string.*find() or string.*index() functions or methods. The part where i'm having trouble is returning the index of the first occurrence of char. Any help would be appreciated. Thanks
More information about the Tutor
mailing list