StripWhiteSpace removes the WhiteSpace from the content
Namespace: DotNetNuke.Common.UtilitiesAssembly: DotNetNuke (in DotNetNuke.dll)
Syntax
C# |
---|
public static string StripWhiteSpace( string HTML, bool RetainSpace ) |
Visual Basic |
---|
Public Shared Function StripWhiteSpace ( 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 WhiteSpace by a space (true) or nothing (false)