Why a new function for this purpose? Why not merge the implementation into ```String2MeshElemType```?