Jump to content
UBot Underground

chinotto

Members
  • Content Count

    3
  • Joined

  • Last visited

Posts posted by chinotto

  1. Perfect!! Thank you so much Pash!! This is exactly what I was looking for:

    set(#MyVar,"We\'ve done everything we point 123","Global")
    if($comparison($find regular expression(#MyVar,"(?i)Point"),"!= Does not equal","")) {
        then {
            alert("contains!")
        }
        else {
            alert("Does not contain")
        }
    }

    Thanks again!

    • Like 1
  2. 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.

×
×
  • Create New...