Вниз
Скачать: CL | DM;

есть вхождение подстроки в строку   Найти похожие ветки 

← →
laser ©   (2003-01-09 17:52) [0]

как узнать рядом (слева и права) стояшие слова СПАСИБО


← →
Mike Kouzmine   (2003-01-09 17:58) [1]

Pos ?


← →
Verg ©   (2003-01-09 17:59) [2]


function SeparateLeft(const Value, Delimiter: string): string;
var
x: Integer;
begin
x := Pos(Delimiter, Value);
if x < 1 then
Result := Trim(Value)
else
Result := Trim(Copy(Value, 1, x - 1));
end;

{==============================================================================}

function SeparateRight(const Value, Delimiter: string): string;
var
x: Integer;
begin
x := Pos(Delimiter, Value);
if x > 0 then
x := x + Length(Delimiter) - 1;
Result := Trim(Copy(Value, x + 1, Length(Value) - x));
end;




← →
laser ©   (2003-01-09 18:12) [3]

СПАСИБО !!! Verg !!!



Страницы: 1 вся ветка

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



Память: 0.44 MB
Время: 0.011 c
4-62948
dimmu3
2002-12-02 08:42
2003.01.20
как сделать, чтобы для формы в приложении на taskbar е отображала


14-62733
MAloi
2002-12-30 11:22
2003.01.20
Delphi 6 and Delphi 7 ?


1-62574
race1
2003-01-11 14:42
2003.01.20
dll


1-62447
grab3
2003-01-08 14:57
2003.01.20
Пара вопросов...


1-62659
lety
2003-01-09 00:22
2003.01.20
CreateProcess




   Наверх