export function parseSetNameWithId ( setNameWithId ) { const init = setNameWithId . lastIndexOf ( '[' ) ; const fin = setNameWithId . lastIndexOf ( ']' ) ; return [ setNameWithId . substr ( 0 , init ) , setNameWithId . substr ( init + 1 , fin - init - 1 ) ] ; }