Developer Resources for AbleCommerce eCommerce platform
CommerceBuilder.Utility Namespace / StringHelper Class / RemoveChars Method
The input string
Array of characters to be removed from the string
In This Topic
    RemoveChars Method
    In This Topic
    Removes the given characters from the input string
    Syntax
    public static string RemoveChars( 
       string text,
       char[] undesiredChars
    )

    Parameters

    text
    The input string
    undesiredChars
    Array of characters to be removed from the string

    Return Value

    Input string without the undesired characters
    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