Topic is misleading I edited it.
What would be the best way to put a period at the end of a sentence without just adding it to the last word or last variable etc.
Like say i had
String s = "Hello I am a sentence";
what would be the best way to add a period to the end?