Главная страница
Top.Mail.Ru    Яндекс.Метрика
Текущий архив: 2004.01.09;
Скачать: CL | DM;

Вниз

Подстановка стрингов.   Найти похожие ветки 

 
int64   (2003-12-24 15:56) [0]

Есть ли готовая функция, которая заменяет все субстринги в стринге моим стрингом?


 
Sandman25 ©   (2003-12-24 15:58) [1]

StringReplace


 
Serge ©   (2003-12-24 16:00) [2]

function StringReplace(const S, OldPattern, NewPattern: string; Flags: TReplaceFlags): string;

Description

StringReplace replaces occurrences of the substring specified by OldPattern with the substring specified by NewPattern. StringReplace assumes that the source string, specified by S, may contain Multibyte characters.

If the Flags parameter does not include rfReplaceAll, StringReplace only replaces the first occurrence of OldPattern in S. Otherwise, all instances of OldPattern are replaced by NewPattern.

If the Flags parameter includes rfIgnoreCase, The comparison operation is case insensitive.


 
int64   (2003-12-24 16:04) [3]

Спасибо.



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

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

Наверх




Память: 0.47 MB
Время: 0.07 c
14-25545
vopros
2003-12-18 13:55
2004.01.09
Кто нибудь ездил на паромах Silja LIne?


4-25649
Popova
2003-11-06 16:47
2004.01.09
Узнать текущего пользователя


1-25420
чайник
2003-12-17 15:24
2004.01.09
Delphi7 и Excel2000


1-25329
Olivka
2003-12-22 16:09
2004.01.09
Fastreport


3-25221
Denisiy
2003-12-11 11:47
2004.01.09
dataset.locate и DBGrid