RangeCharOf
Type
operator
Summary
Designates the chars between indices Start and Finish in Target.
Syntax
char <Start> to <Finish> of <Target>
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.
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 | An expression which evaluates to a string. |
Examples
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