Thread: strpos error
View Single Post
Go4Expert Member
31May2009,06:49  
CrazyGal's Avatar
It will evaluate to False. Yea, I figured out my mistake. I changed *pb == '\0' to pb = (b + strlen(b) -1) and it worked.

I'll start using code blocks from my next post. Sorry about that!

Thanks!