Description
Allows you to obtain the text data that is contained within the current PBDOM_COMMENT object, with all surrounding whitespace characters removed and internal whitespace characters normalized to a single space.
Syntax
pbdom_comment_name.GetTextNormalize()
Return value
String.
Examples
If you have the comment <!-- A COMMENT -->, which has three spaces before and after the text and between the two words, the GetTexNormalizet method returns the string A COMMENT, which has a single space between the words.
Usage
This method allows the caller to obtain the text data that is contained within the current PBDOM_COMMENT with all surrounding whitespace characters removed and internal whitespace characters normalized to single spaces. If no textual value exists for the current PBDOM_COMMENT, or if only whitespace characters exist, an empty string is returned.
See also