I have a RadEditor and I want to get some text, I get the cursor position with getRange(), but I now need to create a range from the beginning of my text to that position.
Example text:"Hello my world!",
My cursor is after "my|", in the middle of the sentence...
so I want to return "Hello my", excluding "world!".