Главная страница
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.019 c
3-35164
jim
2002-07-22 15:14
2002.08.12
ApplyUpdates в ClientDataSet


3-35200
sokoloff
2002-07-22 13:07
2002.08.12
Фильтры в виде дерева


3-35218
kserg@ukr.net
2002-07-23 15:50
2002.08.12
Есть ли DBGrid не отражающий


1-35276
Kurt
2002-07-30 16:22
2002.08.12
Все о том же поиске по тексту (RichEdit, Memo)! Большие обьемы те


7-35472
ol
2002-05-28 15:30
2002.08.12
контроллер весов