Developer Resources for AbleCommerce eCommerce platform
CommerceBuilder.Utility Namespace / StringHelper Class / EscapeSpecialCharacters Method / EscapeSpecialCharacters(String,Boolean) Method
String to escape special characters from
Indicates if * and ? wildcards needs to be escaped too or not
In This Topic
    EscapeSpecialCharacters(String,Boolean) Method
    In This Topic
    Helps you escpae special characters in search keywords
    Syntax
    public static string EscapeSpecialCharacters( 
       string value,
       bool escapeWildcards
    )

    Parameters

    value
    String to escape special characters from
    escapeWildcards
    Indicates if * and ? wildcards needs to be escaped too or not

    Return Value

    A string with special characters escaped
    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