File size: 80 Bytes
f3c6abd
 
1
2
def clip_text(t, lenght = 10):
    return ".".join(t.split(".")[:lenght]) + "."