Developer Resources for AbleCommerce eCommerce platform
CommerceBuilder.Utility Namespace / StringHelper Class / CleanupSpecialChars Method / CleanupSpecialChars(String,Char[]) Method
The input string
Array of other undesired characters that are not special but should be removed as well
In This Topic
    CleanupSpecialChars(String,Char[]) Method
    In This Topic
    Cleans up special characters and other undesired characters from the given input string
    Syntax
    public static string CleanupSpecialChars( 
       string text,
       char[] undesiredChars
    )

    Parameters

    text
    The input string
    undesiredChars
    Array of other undesired characters that are not special but should be removed as well

    Return Value

    Input string without special characters and 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