Livecode Wiki
Advertisement

Removes text from a container.

Built-in Message handler[]

Syntax:

delete [chunk of] container

Synonyms: clear chunk

Examples:

delete word 2 of field 1
delete line 6 to 8 of tVariable

Use the delete chunk command to change the contents of a container. Parameters

  • chunk - A chunk expression specifying a portion of the container.
  • container - A field, button or variable.

The delete chunk command is equivalent to the following statement:

put empty into chunk of container
Advertisement