Question: Write a function find_Substring() that finds a substring into a string. Pass array s1 and s2 to this function and prints if the substring is
Write a function find_Substring() that finds a substring into a string. Pass array s1 and s2 to this function and prints if the substring is present or not. Expected Output 1: Enter string This is a javascript Enter substring script The substring is present Expected Output 2: Enter string This is a javascript Enter substring Jscript The substring is not present
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
