#How to get proper Acronym from String (french)
16 messages · Page 1 of 1 (latest)
Hey, @little eagle!
Please remember to /close this post once your question has been answered!
Arrays.Stream(acronym.split("\\s+"))
.filter(s -> !Set.of("de", "des", "et").contains(s))
.map(s -> String.of(s.charAt(0)))
.collect(Collectors.joining())
.collect(Collectors.joining()) seems not to work @open laurel
I have just need to see if de, des, et is suffisant
Yep not to bad, but I think I'll just add an acronym column directly in my database for these fields.
that's probably best
That will be more precise because there I have UR(C), out the C should not leave but it is a case "impossible" to detect dynamically