tell me the idea u can do this like this
replace("Your Sentence ",".","")
if you want through loop
for (a=0 , a<sentence.length,>{
if (sentence.index[a] !=".")
{
new_Sentence=new_sentence+sentence.index[a];
}
}
code contain syntax error . But the logic is clear