Search Results for

    Show / Hide Table of Contents

    TRichString.Replace Method

    Overloads

    • TRichString.Replace(string, string)
    • TRichString.Replace(string, string, Boolean)

    TRichString.Replace(string, string)

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

    Syntax

    Unit: FlexCel.Core

    function TRichString.Replace(const oldValue: string; const newValue: string): TRichString; overload;

    Parameters

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

    Returns

    A new TRichString with all oldValues replaced with newValues.

    See also

    • TRichString

    TRichString.Replace(string, string, Boolean)

    Replaces all oldValue strings with newValue strings inside the RichString.

    Syntax

    Unit: FlexCel.Core

    function TRichString.Replace(oldValue: string; newValue: string; const CaseInsensitive: Boolean): TRichString; overload;

    Parameters

    <-> Parameter Type Description
    oldValue string String to replace.
    newValue string String that will replace oldValue
    const 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

    • TRichString
    In This Article
    Back to top FlexCel Studio for VCL and FireMonkey v7.24
    © 2002 - 2025 tmssoftware.com