A z funkcja Pos moze byc tak:
// st - to szukany tekst
// text - tekst przeszukiwany
start:= Pos(st, text);
// start w ktorym miejscu sie tekst zaczyna
a wszystko to jest w helpie Delphi..
Z tym ostatnim komentarzem raczej sie nie zgodze. Pos zwraca odpowiednie wartosci jak cos znajdzie lub jak nic nie znajdzie wiec to nie moze byc miejsce w jakim sie zaczyna szukac :) A Pos przeszukuje caly tekst od poczatku do konca :)
To poczytaj to:
function Pos(Substr: string; S: string): Integer;
Description
Pos searches for a substring, Substr, in a string, S. Substr and S are string-type expressions.
Pos searches for Substr within S and returns an integer value that is the index of the first character of Substr within S.
Czyli ????