Inserts one text into another before the given position.

(Note: The numbering of the characters starts with 0, i.e. position specifies how many characters should be ‘skipped’).

Example

  • insertTextAtPosition('ene muh', 'mene ', 4) → ‘ene mene muh’.