Coupling function



  • Suri for this headline, I'm looking for a string function where the function is looking for a match like this.

    if (функция("текст","кс")) { $fun == true } else { $fun == false } в этом случае результат true
    

    I was looking for php.su, but I didn't find a lot of functions.



  • http://php.su/functions/?strpos You need help.


    UPD

    if (strpos("текст","кс")===false) 
    { 
        $fun == false
    } 
    else 
    { 
        $fun == true
    }
    

Log in to reply
 


Suggested Topics

  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2