I feel like I should make clear that I don't know where abouts in the string it will be, I just know that it is in there somewhere.
If you know the content of the sub-string literally in advance and know that it is there, then why would you want to look for it? Well, it you want to check that it is really there, or want to know where in the string it is, then maybe you want to try the
index (or, possibly but less likely, the
rindex) function. But I suspect that's not really what you want.
The problem, though, it that you did not state what you want. I would suspect you probably want to use a regex to find a sub-string that you don't know exactly in advance, but that matches certain criteria or pattern. If this is the case, please provide more information about what you know about that sub-string.