how to check a string in c++ if last character is a letter code example Example: how to find last character of string in c++ String[strlen(String) - 1];