StripPunctuation removes the Punctuation from the content
Namespace: DotNetNuke.Common.UtilitiesAssembly: DotNetNuke (in DotNetNuke.dll)
Syntax
C# |
---|
public static string StripPunctuation( string HTML, bool RetainSpace ) |
Visual Basic |
---|
Public Shared Function StripPunctuation ( HTML As String, RetainSpace As Boolean ) As String |
Parameters
- HTML
- Type: System..::..String
The HTML content to clean up
- RetainSpace
- Type: System..::..Boolean
Indicates whether to replace the Punctuation by a space (true) or nothing (false)