how can I get the left string at caret pos?
Posted: Tue Aug 29, 2006 6:12 am
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?
>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?