Главная страница
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.017 c
14-35457
Baz
2002-07-18 17:05
2002.08.12
Домены.


3-35227
Daiz13
2002-07-22 11:10
2002.08.12
null+integer


3-35224
masik
2002-07-23 14:30
2002.08.12
For Select (IB) аналог в ?


3-35204
bars
2002-07-18 23:16
2002.08.12
Как динамически обновлять БД, с помощью Table?


4-35505
oss
2002-06-06 16:25
2002.08.12
COM