Text Property

Build 1501 on 14/Nov/2017  This topic last edited on: 22/Mar/2016, at 17:08

Description

Returns the plain ASCII text contained in the node.

Available in Ted and in Fred.

Syntax

dim strText as String = object.Text

object

Required. Object name. Returned by the GetRootNode, GetCurNode, GetTxtNode, GetParent, GetChild functions of the object, returned by Ted.GetActiveArticle.

Example

The below script displays the ASCII text (with no tags) of node:

If Ted.HasActiveArticle Then

  dim objA = Ted.GetActiveArticle

  dim objN = objA.GetCurNode

  MsgBox (objN.Text)

End If

Context

Node object

See also

TedText Property for text with GNML tags.