Can you supply a code snippet and the error message?
If your list contains character strings then loc will not work - it's only for numbers.
Here's a solution for a list of strings with empty values.
a = {"a", "", "b", "", "c", "d", "e"};
b = concat items(a, ";");
c = words(b, ";");
Challenge: anyone with an alternate solution?