Get the first name from a full name

get_first_name(full_name)

Arguments

full_name

The full name from which to extract the first name

Value

A string containing the first name

Examples

get_first_name("John Nsombo")
#> [1] "John"
get_first_name("Jorgen Von Straggle")
#> [1] "Jorgen"