Holen Sie sich Element von String mit dem Deliminator Python

>>> name = string.split('-', 1)[0]
Lonely Louse