This commit is contained in:
Kris De Volder
2019-07-24 12:29:55 -07:00
parent d30a82d04f
commit 89d79d9067
3 changed files with 44 additions and 31 deletions

View File

@@ -257,4 +257,8 @@ public class StringUtil {
return queryindex == queryChars.length;
}
public static String snakeCaseToHyphens(String snakeString) {
return snakeString.replace('_', '-').toLowerCase();
}
}