System.SysUtils.TReplaceFlags

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

type TReplaceFlags = set of (rfReplaceAll, rfIgnoreCase);

C++

typedef System::Set<System_Sysutils__75, System_Sysutils__75::rfReplaceAll, System_Sysutils__75::rfIgnoreCase> TReplaceFlags;

Properties

Type Visibility Source Unit Parent
set
typedef
public
System.SysUtils.pas
System.SysUtils.hpp
System.SysUtils System.SysUtils

Description

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

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.



See Also