Table of Contents

TRichString.Replace Method

Overloads

TRichString.Replace(String, String)

Replaces all oldValue strings with newValue strings inside the RichString. (case sensitive)

Syntax

Namespace: FlexCel.Core

public TRichString Replace(String oldValue, String newValue)

Parameters

<-> Parameter Type Description
oldValue String String to replace.
newValue String String that will replace oldValue

Returns

A new TRichString with all oldValues replaced with newValues.

See also

TRichString.Replace(String, String, Boolean)

Replaces all oldValue strings with newValue strings inside the RichString.

Syntax

Namespace: FlexCel.Core

public TRichString Replace(String oldValue, String newValue, Boolean CaseInsensitive)

Parameters

<-> Parameter Type Description
oldValue String String to replace.
newValue String String that will replace oldValue
CaseInsensitive Boolean If true, it will not take care of case for the search.

Returns

A new TRichString with all oldValues replaced with newValues.

See also