
Function s = strjoinnonempty(c,delim) joins the non-empty strings in cell-array c, using delimiter delim, and returns a string s. The function is a very simple wrapper to strjoin(c,delim), but strjoin() inserts delim between every two (empty or non-empty) strings in c. See also the help text of m-file strjoin.m. (c) 2026 fabien van mook 2026.08.20 release of this file within package "fvm-optionmanip" under GNU GPLv3+