Главная страница
Top.Mail.Ru    Яндекс.Метрика
Текущий архив: 2002.08.12;
Скачать: CL | DM;

Вниз

Как узнать четыре последних символа в Edit1?   Найти похожие ветки 

 
GTA 3   (2002-07-29 17:20) [0]

subj


 
MBo ©   (2002-07-29 17:23) [1]

Copy


 
GTA 3   (2002-07-29 17:43) [2]

А можно конкретнее? :)


 
Jeer ©   (2002-07-29 17:46) [3]

F1


 
Skier ©   (2002-07-29 17:51) [4]

>GTA 3


procedure TForm1.Button1Click(Sender: TObject);

function GetLastFourChars(const AEdit : TEdit) : String;
begin
Result := EmptyStr;
if (AEdit = nil) or (Length(AEdit.Text) < 4) then Exit;
Result := Copy(AEdit.Text, Length(AEdit.Text) - 3, 4);
end; //GetLastFourChars

begin
WriteLn(GetLastFourChars(Edit1));
end;



Страницы: 1 вся ветка

Текущий архив: 2002.08.12;
Скачать: CL | DM;

Наверх




Память: 0.47 MB
Время: 0.01 c
7-35476
roadstar
2002-05-29 14:23
2002.08.12
Как програмно открыть папку


4-35512
Help
2002-06-03 16:15
2002.08.12
HTML Title


4-35509
Burmistroff
2002-06-06 21:06
2002.08.12
PWideChar -> PChar


1-35316
anod
2002-07-29 19:08
2002.08.12
Дети у TTreeView


3-35198
Prog_mail
2002-07-20 11:24
2002.08.12
Помогите с отчетом