Вниз
Скачать: 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.45 MB
Время: 0.009 c
3-62382
AlexGreG
2002-12-25 06:46
2003.01.20
Picture from ORACLE DB


4-62938
Natalie
2002-12-04 09:25
2003.01.20
как узнать серийный номер CD???


4-62935
Chubais
2002-12-05 16:44
2003.01.20
Как добавить пункт меню к всплывающему меню?


4-62895
Cosmic
2002-12-02 22:12
2003.01.20
Диалог


4-62890
Разведчик
2002-12-01 23:51
2003.01.20
Работа с SysListView32?




   Наверх