Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PHP

if exists in string php

if (strpos($search, ' -') !== false) {
  echo 'There is exclude pattern "-" in search expression';
}
 
PREVIOUS NEXT
Tagged: #exists #string #php
ADD COMMENT
Topic
Name
2+7 =