Search
 
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
Name
3+9 =