Return empty array when failed to process the string