TEXT

You can use the TEXT function to convert an object to a text item or when echoing entire data objects to another map.

TEXT converts the content of a group or item object to a text item.

Syntax:
TEXT ( single-object-expression )
Meaning:
TEXT ( object_to_convert )
Returns:
A single text item

The TEXT function converts object_to_convert to a text-item, excluding the initiator and terminator of the input object.

Examples

  • TEXT ( Record:card )

    Data: #1339X10A,491.38,Green,42x54@

    Returns: 1339X10A,491.38,Green,42x54

    In this example, the group Record has an initiator of the pound sign (#), a terminator of the at-sign (@), and a delimiter of a comma (,).

    The initiator and terminator are not included because only the content of the object is converted to text.

Related functions

  • DATETOTEXT
  • FROMDATETIME
  • FROMNUMBER
  • NUMBERTOTEXT
  • PACKAGE
    Note: TEXT differs from PACKAGE in that it does not include the initiator and terminator of the input object.
  • SERIESTOTEXT
  • TIMETOTEXT