depending on what you mean by name, use getSublist...
# suitescript
b
depending on what you mean by name, use getSublistText