I’m unable to truncate the string
Hi @EricNC
Welcome to the Exercism forums! Can you give us a look at what code you have tried so far? You can enclose your code in three backticks (it’s the key that looks something like this ~`
on the keyboard) with the language name:
Which will render like this:
class Acronym {
Acronym(String phrase) {
throw new UnsupportedOperationException("Delete this statement and write your own implementation.");
}
String get() {
throw new UnsupportedOperationException("Delete this statement and write your own implementation.");
}
}
to kinda push you into a right direction would be to look up the magic of Codepoints in Java and combining that with some Stringbuilder