Вниз
Скачать: 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
14-25572
barbi
2003-12-18 10:31
2004.01.09
Вопросы президенту


1-25405
Ik
2003-12-24 10:49
2004.01.09
как удалить непустой каталог


3-25245
yuray76
2003-12-10 12:04
2004.01.09
Gbak на удаленной машине


4-25665
Скал
2003-11-05 18:30
2004.01.09
регионы RGN


3-25185
malamba
2003-12-08 17:37
2004.01.09
программа должна работать на другом ПК. Но не хочет




   Наверх