Merge remote-tracking branch 'origin/master'

This commit is contained in:
Weblate 2016-02-21 19:21:36 +01:00
commit ad7f2c24e6

View file

@ -280,6 +280,16 @@ public class Algorithms {
return "";
}
public static String extractOnlyIntegerSuffix(String s) {
int k = 0;
for (; k < s.length(); k++) {
if (Character.isDigit(s.charAt(k))) {
return s.substring(k);
}
}
return "";
}
public static String extractIntegerSuffix(String s) {
int k = 0;
for (; k < s.length(); k++) {