Routines for composition and decomposition of comma-separated values