Advertisement

How do I check if a string contains a specific word?

How do I check if a string contains a specific word? #PHP
#contains

strrpos() - Finds the position of the last occurrence of a string inside another string (case-sensitive)
stripos() - Finds the position of the first occurrence of a string inside another string (case-insensitive)
strripos() - Finds the position of the last occurrence of a string inside another string (case-insensitive)

php,string,substring,contains,string-matching,

Yorum Gönder

0 Yorumlar