RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
SysUtils.TReplaceFlags Type

TReplaceFlags indicates how to perform a search-and-replace operation

Pascal
TReplaceFlags = set of (rfReplaceAll, rfIgnoreCase);
C++
(rfReplaceAll, rfIgnoreCase) TReplaceFlags;

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.  

 

Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
What do you think about this topic? Send feedback!