Python extrae todos los caracteres de la cadena antes que un personaje
s1 = "Username: How are you today?"
>>> s1.split(':')
['Username', ' How are you today?']
>>> s1.split(':')[0]
'Username'
Courageous Cobra