Added cursor support for string
Update README.md
Added cursor support for string
record cursor index
redo&undo can work well now
Extract the public part