String sort (searching and sorting)

can you provide hint how to check two string that whether one contain substring of other or not?

Hey @shubhangis248
You can use find function provide by string

Suppose a and b are strings
then a.find(b) returns the index of first occurrence of b
You can read more about it online :slight_smile: