Quit text from string that references a path JAVA

后端 未结 0 1789
心在旅途
心在旅途 2021-01-04 13:27

If i have a String that contains a path like

"D:\\Folder\\Folder2\\file.txt"

, how can i remove the file and have only

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