Ver Mensaje Individual
  #5  
Antiguo 27-09-2017
Luis F. Orjuela Luis F. Orjuela is offline
Miembro
 
Registrado: may 2003
Ubicación: Bogotá - Colombia
Posts: 68
Reputación: 21
Luis F. Orjuela Va por buen camino
Hazlo así como te paso el ejemplo y te funcionará...

Código Delphi [-]
procedure TForm1.Button1Click(Sender: TObject);
 var sl : TStringList;
     i: integer;

begin
    sl := TStringList.Create();
    try
        sl.Delimiter := '-';
        sl.DelimitedText := Edit1.Text;
        for i := 0 to sl.Count - 1 do
          begin
            ShowMessage(sl[i]);
          end;
    finally
        sl.Free();
    end;
end;

Saludos desde Bogotá - Colombia
__________________
Ing. LUIS FERNANDO ORJUELA
BOGOTA - COLOMBIA
Responder Con Cita