如题所述
但是前提是不知道-前后有多少字符啊
用posEx函数 求出-的位置 结合copy函数就可以了
参考资料:http://blog.163.com/longermusket@126/blog/static/172820681201032095556512/