function [split, nsplit] = cosmo_strsplit(string, delim, varargin)
cosmo strjoin hdr
cosmo structjoin hdr