Вниз
Скачать: 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.015 c
3-35145
AlexE
2002-07-22 09:34
2002.08.12
Проблема с переносом программы с Access 97 на Access 2000


14-35459
MAN-IN-RED
2002-07-15 20:12
2002.08.12
Нужна крутая библиотека по работе со звуком!


1-35300
VictorT
2002-07-29 15:25
2002.08.12
test


3-35137
Kombat
2002-07-21 14:49
2002.08.12
IB и монопольный доступ


4-35510
Poirot
2002-06-04 20:11
2002.08.12
Элементы диалогов (см res файл)




   Наверх