DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR PHP
php string contains string
$str = 'Hello World!'; if (strpos($str, 'World') !== false) { echo 'true'; }
Source by www.php.net #
PREVIOUS
NEXT
Tagged:
#php
#string
#string
ADD COMMENT
Topic
COMMENT
Name
2+4 =
Submit