This is functionally similar to splitting a String object. The character index, using a zero-based counting scheme where the split is to occur, should be passed as an argument.
The method returns the text to the right of the split. The receiving object is truncated at the split point. You can then append some HTML to the receiving object and then append the text object that was returned by the method.