How do I check if part if one string is equal to another?
For example if I have one string with the value of “hello” and a string with the value of “he”, how can I compare them to check that “hello” contains “he”.
If that was not explained very well tell me and I will try to clear it up
"Hello".toLowerCase().contains("He".toLowercase());same like java by using String class contains() method.