Вниз
Скачать: 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.012 c
14-35454
Digitalloops
2002-07-17 21:56
2002.08.12
Сколько стоит монитор?


1-35289
Demona
2002-07-31 17:37
2002.08.12
возможно глупый вопрос...


3-35177
Larisa Perova
2002-07-21 20:13
2002.08.12
FireBird


14-35417
Елена
2002-07-15 07:32
2002.08.12
Digitman, с Днем Варенья!!!


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




   Наверх