Главная страница
Top.Mail.Ru    Яндекс.Метрика
Текущий архив: 2003.01.20;
Скачать: 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 вся ветка

Текущий архив: 2003.01.20;
Скачать: CL | DM;

Наверх




Память: 0.47 MB
Время: 0.014 c
1-62571
Groove_
2003-01-08 19:51
2003.01.20
ЛЮДИ, МАСТЕРА, ПРОГПРАММИСТЫ, HEEEEEEEEEEEEEEEEEELLLLLLLLLLLLPPPP


1-62479
Ag2002
2003-01-09 17:09
2003.01.20
Вид компонентов


4-62943
z0ne
2002-11-29 13:10
2003.01.20
Проблема с PlayEnhMetafile


3-62352
DiLLeR
2002-12-23 13:59
2003.01.20
В чем разница между IBSQL и IBQuery?


1-62631
Fors
2003-01-09 14:53
2003.01.20
Сколько на отрезке