extracting a string from a string up until the first , python code example
Example: how to fetch all chars of a string before a space in python
>>> s1.split(':')
['Username', ' How are you today?']
>>> s1.split(':')[0]
'Username'
>>> s1.split(':')
['Username', ' How are you today?']
>>> s1.split(':')[0]
'Username'