Ver Mensaje Individual
  #2  
Antiguo 12-11-2008
Avatar de jhonny
jhonny jhonny is offline
Jhonny Suárez
 
Registrado: may 2003
Ubicación: Colombia
Posts: 7.058
Reputación: 30
jhonny Va camino a la famajhonny Va camino a la fama
Mira la función PosEx de la unidad StrUtils, seguramente es la que necesitas .

Código Delphi [-]
const
   Texto = 'ABCDEFGABC';
begin
  ShowMessage(IntToStr(PosEx('ABC', Texto, 8)));
end;
__________________
Lecciones de mi Madre. Tema: modificación del comportamiento, "Pará de actuar como tu padre!"

http://www.purodelphi.com/
http://www.nosolodelphi.com/
Responder Con Cita