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

前端 未结 0 1060
自闭症患者
自闭症患者 2021-02-19 17:44

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

from "ABC" to "AB"

I tried setting

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