| 5472 | } |
| 5473 | |
| 5474 | String String::get_file() const |
| 5475 | { |
| 5476 | int sep = MAX(rfind("/"), rfind("\\")); |
| 5477 | if (sep == -1) |
| 5478 | { |
| 5479 | return *this; |
| 5480 | } |
| 5481 | |
| 5482 | return substr(sep + 1, length()); |
| 5483 | } |
| 5484 | |
| 5485 | String String::get_extension() const |
| 5486 | { |
no test coverage detected