mirror of
https://github.com/ChestShop-authors/ChestShop-3.git
synced 2025-01-11 17:47:44 +01:00
Yes... This too...
This commit is contained in:
parent
724cc4077c
commit
4252ede145
@ -18,7 +18,7 @@ public class StringUtil {
|
||||
public static String capitalizeFirstLetter(String string, char separator) {
|
||||
char[] separators = new char[] {separator};
|
||||
|
||||
return WordUtils.capitalizeFully(string, separators);
|
||||
return WordUtils.capitalizeFully(string, separators).replace(String.valueOf(separator), " ");
|
||||
}
|
||||
|
||||
/**
|
||||
|
Loading…
Reference in New Issue
Block a user