Código Delphi [-] uses StrUtils; procedure TForm1.Button1Click(Sender: TObject); begin Caption := RightStr(MiTexto, LastDelimiter('_', MiTexto)+1); end;
uses StrUtils; procedure TForm1.Button1Click(Sender: TObject); begin Caption := RightStr(MiTexto, LastDelimiter('_', MiTexto)+1); end;