well maybe by using simple math?

increment that returned index from Pos by the length of the string searched....and yes, you can branch your code depending on that...if you're just interested if the string is present, use Pos and check the result <> 0...if it is non-zero, the substring has been found....