Developer Resources for AbleCommerce eCommerce platform
CommerceBuilder.Utility Namespace / StringHelper Class / Replace Method / Replace(String,String,String) Method
The text input to be processed
The string to be replaced
The string to replace with
In This Topic
    Replace(String,String,String) Method
    In This Topic
    Replaces old string with new string in a given input
    Syntax
    public static string Replace( 
       string input,
       string find,
       string replace
    )

    Parameters

    input
    The text input to be processed
    find
    The string to be replaced
    replace
    The string to replace with

    Return Value

    The new input string that has old string replaced with new string
    Requirements

    Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

    See Also