RangeCharOf

Typeoperator
DictionaryLCB
LibraryLiveCode Builder
Syntax
char <Start> to <Finish> of <Target>
Associationscom.livecode.char
Summary

Designates the chars between indices Start and Finish in Target.

Parameters
NameTypeDescription
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

An expression which evaluates to a string.

Example
put tChars into char 5 to 10 of tString // Locates chars 5 to 10 of tString and replace them with tChars
get char 5 to 10 of tString // Evaluates chars 5 to 10
Description

Either locates the chars between the given indices for use as the target container of another operation, or evaluates the chars at the given indices as the source of another operation.

Note: It is an error if either Start or Finish are out of range.

Tagsstrings