Which method would you use to determine whether a substring is present in a string?

Which method would you use to determine whether a substring is present in a string?


Answer: find(substring)


Learn More :