DeleteRangeCodeunitOf |
Type | statement |
Dictionary | LCB |
Library | LiveCode Builder |
Syntax | delete codeunit <Start> to <Finish> of <Target>
|
Associations | com.livecode.codeunit |
Summary | Deletes the codeunits between indices Start and Finish in Target.
|
Parameters | Name | Type | Description |
---|
Start | | An expression which evaluates to a valid integer index of Target.
|
Finish | | An expression which evaluates to a valid integer index of Target.
|
Target | | A string container.
|
|
Example | variable tVar as String
put "surround" into tVar
delete codeunit 2 to 4 of tVar
|
Description | Replaces the codeunits between the given indices with the empty string.
Note: It is an error if either Start or Finish are out of range.
|
Tags | strings |