Quote:
Originally Posted by riste.kgb
Also contain, containi is not working properly. What's the point to exists these functions when they returns -1, and zero (which in if, while statements are false)
|
Check doc before posting.
Quote:
Return
-1 on failure (no match found). Any other value
|
You have to check
!= -1 to make sure that string1 is contained somewhere inside string2.
__________________