Search the Community
Showing results for tags 'contains'.
-
Hello Ubotters, After spending some hours to get it work, I decided to consult with you regarding an issue that I'm getting with some basic things. It could be that I'm just tired, but I can't determine what causes the problem.. Let's get to the point. I have such code: if($contains(#currentBotModule,"module1") OR $contains(#currentBotModule,"#module2") OR $contains(#currentBotModule,"#module3") OR $contains(#currentBotModule,"#module4") OR $contains(#currentBotModule,"#module5")) { then { module basic() } else if(ANOTHER MODULE FUNCTION)
-
Is it possible to make contains function case insensitive? I got the following code: set(#var,%nte,"Global") if($contains(#var,"Point")) { then { alert("contains!") } else { alert("Does not contain") } }So I have the list "%nte" and set it as the variable #var. The list contains the word Point. I would like to alert "contains! even if I search for the word "point" with lowercase p in the variable or any other lower and uppercase mix like "PoInT". Now it only shows "contains!" alert if I search for Point with the uppercase P.
- 3 replies
-
- contains
- case sensitive
-
(and 2 more)
Tagged with: