Skip to main content

DeleteLastCodeunitOf

Type

statement

Summary

Deletes the last codeunit in Target.

Syntax

delete the last codeunit of <Target>

Description

Replaces the last codeunit in Target with the empty string.

note

It is an error if Target is the empty string.

Parameters

NameTypeDescription

Target

A string container.

Examples

variable tVar as String
put "deadliness" into tVar
delete the last codeunit of tVar -- tVar contains "deadlines"
Thank you for your feedback!

Was this page helpful?