Added cursor support for string