DeleteLastCodeunitOf

Typestatement
DictionaryLCB
LibraryLiveCode Builder
Syntax
delete the last codeunit of <Target>
Associationscom.livecode.codeunit
Summary

Deletes the last codeunit in Target.

Parameters
NameTypeDescription
Target

A string container.

Example
variable tVar as String
put "deadliness" into tVar
delete the last codeunit of tVar -- tVar contains "deadlines"
Description

Replaces the last codeunit in Target with the empty string.

Note: It is an error if Target is the empty string.

Tagsstrings