Common: add unicode string.reverse; move functionality shared with string.sub into string.toCharTable compatibility function