Вниз
Скачать: 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 вся ветка

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



Память: 0.45 MB
Время: 0.015 c
1-25434
Silver_
2003-12-23 17:35
2004.01.09
Почему Field.OnChange вызывается 2 раза подряд


1-25402
Ord3f8h
2003-12-24 17:44
2004.01.09
Мануал по работе с текстовыми файлами


14-25527
Knight
2003-12-19 09:16
2004.01.09
Атомные часы


14-25556
ekla
2003-12-18 09:05
2004.01.09
www2mail


1-25373
Indy
2003-12-25 04:45
2004.01.09
Документация по Indy




   Наверх