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
Get step-by-step solutions from verified subject matter experts
