字符分割

1  nameExt = strTemp.Right(strTemp.GetLength() - slashpos - 1);

从\\到文件最后

2  nameExt = strTemp.Mid(slashpos + 1, strTemp.GetLength()-4);

从\\到文件倒数第五个字符


猜你喜欢

转载自blog.csdn.net/hk121/article/details/80190333