ReplaceRange Method (AWTTextArea)

Class

AWTTextArea.

Action

Replaces text between the specified start and end positions with the specified replacement text.

Syntax

textArea.ReplaceRange(text, start, end)
Variable Description
text The text to use as the replacement. String.
start The start position. The value is zero-based. Integer.
end The end position. The value is zero-based. Integer.

Examples

colorsTextArea.ReplaceRange("blue", 31, 37)