get listbox into an array

getting the rooms listbox into an array of string