i have the following:
var S=\"hi how are you\"; var bindex = 2; var eindex = 6;
how can i remove all the chars from S that reside between
S.split(S.substring(bindex, eindex)).join(" ");