Jump to content

Check string contains X


graham23s

Recommended Posts

Hi Guys,

 

When coding in vb.net i can use:

 

if (html.Contains("string i'm searching for") then...

 

its a really fast way to see if the html string contains some text, i was wondering if there was anything similar for php?

 

cheers for any info guys

 

Graham

Link to comment
https://forums.phpfreaks.com/topic/186436-check-string-contains-x/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.