(String text)
| 46 | } |
| 47 | |
| 48 | public static String removeExt(String text) { |
| 49 | return text.contains(".") ? text.substring(0, text.lastIndexOf(".")) : text; |
| 50 | } |
| 51 | |
| 52 | public static String substring(String text) { |
| 53 | return substring(text, 1); |
no test coverage detected