String变量包含文件名C:\Hello\AnotherFolder\The File Name.PDF。如何才能仅获取字符串形式的文件名The File Name.PDF?
String
C:\Hello\AnotherFolder\The File Name.PDF
The File Name.PDF
我计划拆分字符串,但这不是最佳解决方案。
https://stackoverflow.com/questions/14526260
相似问题