Add getIListtoChar and getRListtoChar functions.