Write a method that checks if a string contains a specific substring.
EasyProblem Statement
Write a method that checks if a string contains a specific substring.
Sample Input
"hello world", "world"
Sample Output
true
Limits
Time: 2s · Memory: 256 MB