XmlUtilnormalizeWhitespace Method |
Normalize whitespace in a string by stripping leading and
trailing whitespace, and converting all internal sequences
of whitespace into a single space each.
Namespace: DXMLBase.XmlAssembly: DXMLBase (in DXMLBase.dll) Version: 1.0.0.0 (1.0.0.0)
Syntaxpublic static string normalizeWhitespace(
string source
)
Public Shared Function normalizeWhitespace (
source As String
) As String
public:
static String^ normalizeWhitespace(
String^ source
)
static member normalizeWhitespace :
source : string -> string
Parameters
- source
- Type: SystemString
The string to be normalized
Return Value
Type:
StringThe normalized string
See Also