Raised This Month: $ Target: $400
 0% 

containi() always seems to match


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
p3tsin
Senior Member
Join Date: Sep 2005
Location: Finland
Old 03-03-2006 , 14:11  
Reply With Quote #4

Code:
/* Checks if source contains string with case ignoring. On success function
* returns position in source, on failure returns -1. */
native containi(const source[],const string[]);
u should also have it like this (note && instead of ||):
Code:
if(containi(arg,Sarray[0]) < 0 && containi(arg,Sarray[1]) < 0 && containi(arg,Sarray[2]) < 0) {
__________________
plop
p3tsin is offline
 



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 20:25.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode