how can I get the left string at caret pos?

General TRichView support forum. Please post your questions here
Post Reply
looker
Posts: 1
Joined: Tue Aug 29, 2006 6:04 am

how can I get the left string at caret pos?

Post by looker »

I want to get the left string at current caret , like this :

>This is a test

If caret is at begin of "test",I want to get the string between ">" and "test",the result is "This is a ".
How can I do?
:)
Sergey Tkachenko
Site Admin
Posts: 17557
Joined: Sat Aug 27, 2005 10:28 am
Contact:

Post by Sergey Tkachenko »

Do you need text from the beginning of the screen line, of from the beginning of the paragraph? If there are some nontext items (pictures) there, should they be ignored, or in this case you need text from the picture to the caret?
Post Reply