Главная страница
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.019 c
1-25293
Kair
2003-12-23 11:28
2004.01.09
auxDIBImageLoad();


1-25331
dss
2003-12-22 15:58
2004.01.09
OLE: проблема переноса на другую машину


3-25207
Inkotex
2003-12-11 19:20
2004.01.09
Печать


8-25448
Addead
2003-09-06 09:21
2004.01.09
Как импортировать (работать с) flash в Delphi.


3-25188
perova
2003-12-12 13:42
2004.01.09
Уважаемые мастера, подскажите, пожалуйста, как скрыть сценарий БД