and then again to find the second space, assuming there is spaces after

```
function FindPhrasePlusTwoWords(aText, aPhrase: string; StartAt: integer = 1): integer;
var p, n: integer;
begin
Result := 0;
p := PosEx(aPhrase, aText, StartAt);
if p > 0 then
begin
n := PosEx(' ', aText, p + Length(aPhrase));
if n > 0 then
Result := Pos(' ', aText, n+1); // Result = pos of space after last word
end;
end;
```