TReplaceFlags indicates how to perform a search-and-replace operation
TReplaceFlags = set of (rfReplaceAll, rfIgnoreCase);
(rfReplaceAll, rfIgnoreCase) TReplaceFlags;
SysUtils
TReplaceFlags is a set of flags that govern how to locate and replace a substring within a string. This set can contain the following values:
Value |
Meaning |
rfReplaceAll |
Replace all occurrences. If this flag is not present, only the first occurrence of the target substring is replaced. |
rfIgnoreCase |
Match occurrences of the substring case-insensitively. If this flag is not present, only case-sensitive matches are considered. |
StringReplace
Copyright(C) 2008 CodeGear(TM). All Rights Reserved.
|
What do you think about this topic? Send feedback!
|