我有一个问题.我想从字符串末尾删除数字,但我不知道.可以使用split()方法吗?我怎样才能使它工作?初始字符串就像'asdfg123',并且我只想要'asdfg'.谢谢你的帮助!
split python-3.x
python-3.x ×1
split ×1