📅  最后修改于: 2022-03-11 15:01:50.358000             🧑  作者: Mango
StringDotter(input){
while (1<2){
if (input.length >= 55) {
input = input.substring(0, input.lastIndexOf(" ")) + "...";
}
else{ return input}
}
}