how to get the first word in string using deluge?

how to get the first word in string using deluge?

let say I have string "David Beckham". how to get just "David" using deluge?
I need to get the first word in string using deluge?