View Single Post
Dr. Greg House
Professional Troll,
Part-Time Asshole
Join Date: Jun 2010
Old 12-26-2015 , 16:30   Re: Namechecking, beginner question
Reply With Quote #5

Originally Posted by Icon315 View Post
StrContains() doesn't return true/false, i think i remember it used to, it returns the position in the string where the substring is located or -1 if it didn't find it.
if(StrContains(clientName, "test", false) != -1){
is what you need
It never did in SP.
I think it is true for some other languages/frameworks though (C#, Java?).
Santa or Satan?

Watch out when you're paying people for private requests! Most stuff already exists and you can hardly assess the quality of what you'll get, and if it's worth the money.

Last edited by Dr. Greg House; 12-26-2015 at 16:30.
Dr. Greg House is offline