docs: function stringToNumberArray(string, separator = "", setNaN = null) {
    if (isEmptyString(string)) {
      return [];
    }
  
    let array = string.split(separator);
    for (let i = 0; i < array.length; ++i) {
      array[i] = parseInt(array[i].trim(), 10);
      if (isNaN(array[i]) && setNaN !== null) {
        array[i] = setNaN;
      }
    }
    return array;
  }