Description
Returns the text data contained within a PBDOM_ELEMENT object with any leading and trailing whitespace characters removed.
Syntax
pbdom_element_name.GetTextTrim()
Return value
String
Examples
The GetTextTrim method is invoked for the abc element of the following XML:
<abc> Root Element Data <![CDATA[ with some cdata text ]]></abc>
The GetTextTrim method returns the following string:
Root Element Data with some cdata text
Usage
Surrounding whitespace characters are removed from the returned text data. The GetTextTrim method returns an empty string if no text value exists for the PBDOM_ELEMENT object or if the text value contains only whitespace characters.
See also