mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-19 20:28:00 +00:00
Add code allowing text-changing effects (+some cleanup).
This commit is contained in:
@@ -178,4 +178,9 @@ public class TextUtil {
|
||||
}
|
||||
return builder.toString();
|
||||
}
|
||||
|
||||
public static String capitalize(final String s) {
|
||||
return s.substring(0, 1).toUpperCase()
|
||||
+ s.substring(1);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user