Thank you but this is not what I'm looking for if I replace the phrase "Hello World, this is the world" I get "Hello Wild, this is the wild" but i want "Hello Wild, this is the world".That's why I want the start and end positions or start and the number of characters selected.