Вниз
Скачать: 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 вся ветка

Скачать: CL | DM;



Память: 0.45 MB
Время: 0.01 c
4-35510
Poirot
2002-06-04 20:11
2002.08.12
Элементы диалогов (см res файл)


3-35229
matvey
2002-07-24 16:33
2002.08.12
DBGrid


3-35195
Chemist
2002-07-20 21:30
2002.08.12
Помогите с bitmap-ами в базе!!!


1-35281
Эмиль
2002-07-31 15:43
2002.08.12
LoadFromStream


14-35404
Ильдар
2002-07-15 15:45
2002.08.12
Где?




   Наверх