3 lines
144 B
Python
3 lines
144 B
Python
def clip_text(text: str, max_length: int = 6) -> str:
|
|
# return text[:max_length] + ".." if len(text) > max_length else text
|
|
return text
|