This website works better with JavaScript
Página inicial
Explorar
Ajuda
Entrar
LiuFan
/
PrivacyScanData
Observar
1
Favorito
0
Fork
0
Arquivos
Issues
0
Pull Requests
0
Wiki
Tree:
477aca1605
Branches
Tags
dev-lf
lsn
master
PrivacyScanD...
/
target
/
truncate
/
truncate_2_1.py
truncate_2_1.py
105 B
Histórico
Raw
1
2
def truncate(str, limit, ellipsis='...'):
return str[:limit] + ellipsis if len(str) > limit else str