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