forked from External/mage
This commit is contained in:
parent
b885fffd9d
commit
09bc2575d8
23 changed files with 442 additions and 658 deletions
|
|
@ -800,4 +800,12 @@ public final class CardUtil {
|
|||
return object.getAbilities();
|
||||
}
|
||||
}
|
||||
|
||||
public static String getTextWithFirstCharUpperCase(String text) {
|
||||
if (text != null && text.length() >= 1) {
|
||||
return Character.toUpperCase(text.charAt(0)) + text.substring(1);
|
||||
} else {
|
||||
return text;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue