Jump to content

find a?


jwilson122

Recommended Posts

Hey, What function / how would I find if a string has something? Say I have a string like:

$string = 'Hello their! This is my post  btw, my name is Justin.';

Say I wanted to find out if my name "Justin" is inside that string..

so:

whateverfunction('Justin', $string)

 

So I think you should get my idea now though :P

 

Thanks a lot!

Link to comment
https://forums.phpfreaks.com/topic/217852-find-a/
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.