NevronOpenVision
Nevron.Nov.Xml Namespace / NXmlParserListener Class / CollapseWhiteSpaces Method
The string to normalize.
Specifies whether to remove the leading space character (if present) or not.
Specifies whether to remove the trailing space character (if present) or not.
In This Topic
    CollapseWhiteSpaces Method
    In This Topic
    Normalizes the given string value by replacing all sequences of whitespace characters with a single space character.
    Syntax
    protected System.string CollapseWhiteSpaces( 
       System.string input,
       System.bool trimStart,
       System.bool trimEnd
    )

    Parameters

    input
    The string to normalize.
    trimStart
    Specifies whether to remove the leading space character (if present) or not.
    trimEnd
    Specifies whether to remove the trailing space character (if present) or not.
    Requirements

    Target Platforms: Windows 11, Windows 10, Windows 7, Windows Server 2019, Windows Server 2016, Windows Server 2012 R2, Windows Server 2012, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later)

    See Also