delete chunk

Typecommand
DictionaryLCS
LibraryLiveCode Script
Syntax
delete [<chunk> of] <container>
Synonymsclear chunk
Summary

Removes text from a container.

Introduced1.0
OSmac, windows, linux, ios, android
Platformsdesktop, server, mobile
Parameters
NameTypeDescription
chunk

A chunk expression specifying a portion of the container.

container

A field, button or variable.

Example
delete word 2 of field 1
delete line 6 to 8 of tVariable
RelatedCommand: delete
Glossary: container
Description

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

The delete chunk command is equivalent to the following statement:

put empty into chunk of container

Tagstext processing