EditableText.insertText

void insertText(string string_, ref int position)

Insert text at a given position.

Parameters

string_the text to insert
positionThe caller initializes this to the position at which to insert the text. After the call it points at the position after the newly inserted text.