Hi,

I'd like to skip to a specific position in a stream based on a substring.
I got the following example that works for a single character:

stream := 'abcdef' readStream.
stream skipTo: $e.����������������������������������������
stream next.�������������� -��� $f

But it does not work for substrings.
I'd like to have something like:

stream := 'abcdef' readStream.
stream skipTo: 'de'.����������������������������������������
stream next.�������������� -��� "But this returns nil"

Do you know how to do it?

Thanks,

Leonardo