Question simplifying fix

This commit is contained in:
MrFry 2019-10-09 17:10:07 +02:00
parent f34449c960
commit c86ab99244
2 changed files with 5 additions and 3 deletions

View file

@ -184,7 +184,8 @@ class StringUtils {
let s = value.split('. ')
if (s[0].length < 2 && s.length > 1) {
return s.shift()
s.shift()
return s.join(' ')
} else {
return value
}