pos

0

czy jest funkcja taka jak POS czytajaca text od tylu?

0

O samej takiej funkcji nie słyszałem, ale można to łatwo zrobić za pomocą połaczenia Pos, ReverseString (StrUtils) i ewentualnie Length.

0
function OdwrocTekst(tekst:string):string;
var
   i:Integer;
begin
   Result:='';
   if Trim(tekst)<>'' then
   begin
      for i:=Length(tekst) downto 1 do
      Result:=Result+tekst[i];
   end;
end;
0

eee

Length(s) - Pos('cos', s);

1 użytkowników online, w tym zalogowanych: 0, gości: 1