how to see the first and last characters of a string in c++ code example
Example: get first and last character of string c++
auto first_char = str.front()
auto last_char = str.back()
auto first_char = str.front()
auto last_char = str.back()