Sub TestFor
FoundBeginingAt = Text.GetIndexOf(SourceText,Checkfor)
TextWindow.WriteLine("Position begining at = " + FoundBeginingAt)
If FoundBeginingAt <> 0 Then
TextWindow.WriteLine("Yes, it contains the word " + Checkfor)
Else
TextWindow.WriteLine("No, it does NOT contain the word " + Checkfor)
EndIf
EndSub