Returns an object describing the segment in the original string that includes the code unit at a specified index.
Optional codeUnitIndex: numberA number specifying the index of the code unit in the original input string. If the value is omitted, it defaults to 0.
Returns an iterator to iterate over the segments.