Value as a string from a void function

i know that this wrong but i want to explain you that i want to send with OscMessage whatever is inside the displayinformation, because everytime i change the selection there is another name… I dont want to send one specific name, i want everytime i choose selection 1 to send the name John, everytime i choose the selection 2 to send the name Melanie(etc…)