Вниз
Скачать: 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.011 c
1-62626
Rus
2003-01-09 14:12
2003.01.20
Стандартные диалоговые боксы


7-62884
VladTen
2002-11-06 06:11
2003.01.20
Помогите с файлами TPS от Clarion 5.0


3-62432
Fishka
2002-12-25 11:17
2003.01.20
Удаление записи из выборки (из query)


1-62660
Johnny
2003-01-09 22:53
2003.01.20
TImage:вопросик


6-62704
Ser_Kham1
2002-11-22 10:34
2003.01.20
Проблемы с Pop3




   Наверх