| 1029 | } |
| 1030 | |
| 1031 | String Beefy::GetFileName(const StringImpl& path) |
| 1032 | { |
| 1033 | int slashPos = BF_MAX((int)path.LastIndexOf('\\'), (int)path.LastIndexOf('/')); |
| 1034 | if (slashPos == -1) |
| 1035 | return path; |
| 1036 | return path.Substring(slashPos + 1); |
| 1037 | } |
| 1038 | |
| 1039 | String Beefy::GetFileExtension(const StringImpl& path) |
| 1040 | { |
nothing calls this directly
no test coverage detected