I have c# strings looking like this:
"abc";
"def.";
When I read these into another variable I need some simple way to check the last character of the string and if it’s not a period then append a period to that string.
Does anyone have any ideas of a simple way I could do this?
1 Answer