parseArray = (str) => {
  if (!str) {
    return [];
  }
  return str.split(",");
}
Parse string to array of strings.

@param {string} str The string to parse.
@returns {string[]} The array of strings.