Question: In c# Write a function that checks whether a string contains a given substring. The function should ignore all numbers. String: 1hom512e92w1rk Substring: home The
Write a function that checks whether a string contains a given substring. The function should ignore all numbers. String: 1hom512e92w1rk Substring: home The substring is present in the string! String: im2agline Substring: image The substring is not in the string static bool ContainsSubstringIgnoreNumbers (string word, string substring)
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
