SyntaxFix
Write A Post
Hire A Developer
Questions
If you know the start and end index you may use this
string = string.substring(0, start_index) + string.substring(end_index, string.length());