Split errorMessage from stringObject