I don't know what you would call it but I want to do something like this:

I have a list that contains the following and will have more in the future.

{buffalo}
street
street2
street3
{end}
{albany}
street1
street2
street3
street4
{end}

Now I want to create a function where I can pull a random street from the city I call, for example:

msgbox PullStreet(albany)

and the above might return "street3"