DeleteSingletonCharOf

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

Deletes the char at index Index in Target.

Parameters
NameTypeDescription
Index

An expression which evaluates to a valid integer index of Target.

Target

A string container.

Example
variable tVar as String
put "thorough" into tVar
delete char 3 of tVar -- tVar contains "through"
Description

Replaces the char at the given index with the empty string.

Note: It is an error if Index is out of range.

Tagsstrings