i dokumentacjihttp://delphi.about.com/od/beginners/l/blrtlPos.htmPos zwraca inta a nie boola. Opis mówi: “Pos looks for the first complete occurence of Str in Source. If it finds one, it returns the character position in Source of the first character in Str as an integer value, otherwise it returns 0.” więc interesuje Cię porównanie wyniku Pos do nie-zero: