string str=@"F:\Test\Codes\code.txt";
int x=str.LastIndexOf("\\");
string str1=str.substring(0,x);
string str2=str.substring(x)

相关文章:

  • 2021-12-05
  • 2021-07-29
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-06-28
猜你喜欢
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-07-17
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
相关资源
相似解决方案