I want to delete all the full stops ( . ) in a string.
Therefore I tried: inpt = inpt.replaceAll(\".\", \"\");, but instead of deleting only the full st
inpt = inpt.replaceAll(\".\", \"\");
replaceAll takes a regular expressions as an argument, and . in a regex means "any character".
.
You can use replace instead:
inpt = inpt.replace(".", "");
It will remove all occurences of ..