Feb. 9, 2016
12:29 p.m.
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