Question: Write a PHP script to check whether a string contains a specific string? Sample string: 'Good evening class, How are you all doing today?' Check

Write a PHP script to check whether a string contains a specific string? Sample string: 'Good evening class, How are you all doing today?' Check whether the said string contains the string 'evening'. If present, then output: The specific word is present. If not present, then output: The specific word is not present.

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related General Management Questions!