Just a quick question.
‘the’ is a substring of “A quick brown fox jumped there.” Because of the string “there”.
how about:
(1) ‘the’ and the string is “tadhase”.
(2) ‘the’ and the string is “heet”
are the two examples also falls in the substring? please explain. thanks