GetTextTrim

Description

Obtains the text data that is contained within the current PBDOM_PROCESSINGINSTRUCTION object with all surrounding whitespaces removed.

Syntax

pbdom_pi_name.GetTextTrim()

Argument

Description

pbdom_pi_name

The name of a PBDOM_PROCESSINGINSTRUCTION object


Return value

String.

The trimmed text content of the PBDOM_PROCESSINGINSTRUCTION object. If no textual value exists for the current PBDOM_PROCESSINGINSTRUCTION object, or if only whitespace characters exist, an empty string is returned.

See also

GetData

GetText

GetTextNormalize

SetData