How to check if some String Contains a Specific Word in PHP
We can use PHP strpos() function for this case. The strpos() work finds the position of the primary occurrence of a string inside another string. Note: The strpos() work is case-sensitive.(PHP 4, PHP 5, PHP 7, PHP 8) USAGE <?php $searchWord= "Microsoft"; $searchIn= "People use random text in Microsoft Word to act as a placeholder for inserting more sensible…