0
I need to compare the last letter of a string with a question mark.
I already did and the code works, only I’m getting the last letter with Substring
, using Length
and it’s an ugly code.
I want to know if there is any function to make this comparison in a simpler way ie specific to this.