I actually want to know how i can actually only show the first characters of a string and show after the first characters a "...".
I already searched a bit and found:
I want to show only the first 10 characters:
character_name = "им ٠frag /watch?v=Q-2tZ8ttE"
name = character_name[10:]
Edit: I forgot to mention that it could be also the case, that the name is less than 10 characters and there shouldnt be a "..." afterwards. Only for names which contain more than 10 Characters. But how i can add afterwards a "..." after the 10 characters?