DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR PHP
find substring php
$a = 'How are you?'; $search = 'are y'; if(preg_match("/{$search}/i", $a)) { echo 'true'; }
Source by stackoverflow.com #
PREVIOUS
NEXT
Tagged:
#find
#substring
#php
ADD COMMENT
Topic
COMMENT
Name
6+3 =
Submit