I need to compare the last letter of a String with an interrogation accent.
I've already done it and the code works, except that I'm picking up the last letter with Substring
, using Length
and that's ugly code.
I want to know if there is any function to do this comparison in a simpler way ie specific to that.