Please enable JavaScript to view this site.

 

Navigation: Tokens > Layout Tokens

[DEL] Delete Characters from Insertion Point

Scroll Prev Up Next More

The [DEL] token allows you to specify that characters to the left, or right, of the token should be deleted.

 

The use of the token is as follows:

 

 [DEL:direction:size]

 

Direction

 

The values for direction have the following meaning:

 

L

Delete to the LEFT (similar to the Backspace key)

R

Delete to the RIGHT (similar to the Delete key)

 

Size

 

The values for size have the following meaning:

 

1 -> 999

Delete the corresponding number of characters

0

Delete all characters until the beginning of the textbox (with L) or to the end of the textbox (with R).

-1

Delete as many characters are needed to get rid of text overflow (does nothing if there is no text overflow). Note that text is considered to fit in the box either if there is no overflow, or if the overflow is caused by a next box character in a chain of linked textboxes.

 

Note that return characters (soft or hard) are counted as only one character each.

 

See also: other layout tokens.

 


Topic 178660, last updated on 04-May-2021