home

Code Library

function core.string.split() {
  local -n array_name="$3" # Name of the array to store the result

  IFS="$delim" read -ra array_name <<< "$str"
}