| 66 | return path.SubString(pos, dotPos - pos); |
| 67 | } |
| 68 | String Path::GetFileExt(const String & path) |
| 69 | { |
| 70 | int dotPos = path.LastIndexOf('.'); |
| 71 | if (dotPos != -1) |
| 72 | return path.SubString(dotPos+1, path.Length()-dotPos-1); |
| 73 | else |
| 74 | return ""; |
| 75 | } |
| 76 | String Path::GetDirectoryName(const String & path) |
| 77 | { |
| 78 | int pos = path.LastIndexOf('/'); |
nothing calls this directly
no test coverage detected