How do I erase last character of a string without “erase()”?

前端 未结 0 2088
粉色の甜心
粉色の甜心 2021-02-19 17:48

I am trying to erase the last character of a string without "erase()",

from "ABC" to "AB"

I tried setting

相关标签:
回答
  • 消灭零回复
提交回复
热议问题