DeleteLastCharOf

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

Deletes the last char in Target.

Parameters
NameTypeDescription
Target

A string container.

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

Replaces the last char in Target with the empty string.

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

Tagsstrings