Raised This Month: $99 Target: $400
 24% 

[Solved] StrContains - Ignore Lower Upper chars?


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
HSFighter
Veteran Member
Join Date: Aug 2007
Location: Flensburg - Germany
Old 08-14-2014 , 07:30   [Solved] StrContains - Ignore Lower Upper chars?
Reply With Quote #1

Hi all,

will "StrContains" make difference between Lower Upper chars?
PHP Code:
if (StrContains(str1str2false) != -1
{
    
// do stuff...

Thanks for the effort.
__________________



Sorry for my very bad english
Greetings HSFighter

Last edited by HSFighter; 08-14-2014 at 07:48. Reason: Solved
HSFighter is offline
Send a message via ICQ to HSFighter
kossolax
AlliedModders Donor
Join Date: Jan 2008
Location: Belgium
Old 08-14-2014 , 07:34   Re: StrContains - Ignore Lower Upper chars?
Reply With Quote #2

Assuming the definition: https://sm.alliedmods.net/api/index....d=show&id=615&
"Hello" is equal to "hello", because you passed false as 3rd argument.

Last edited by kossolax; 08-14-2014 at 07:37.
kossolax is offline
HSFighter
Veteran Member
Join Date: Aug 2007
Location: Flensburg - Germany
Old 08-14-2014 , 07:43   Re: StrContains - Ignore Lower Upper chars?
Reply With Quote #3

Quote:
Originally Posted by kossolax View Post
"Hello" is equal to "hello", because you passed false as 3rd argument
This is exactly what i need.
Then does not have to use CharToLower.

THANK YOU kossolax
__________________



Sorry for my very bad english
Greetings HSFighter

Last edited by HSFighter; 08-14-2014 at 07:43.
HSFighter is offline
Send a message via ICQ to HSFighter
Reply


Thread Tools
Display Modes

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 17:55.


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