On 09/02/16 14:01, Sven Van Caekenberghe wrote:
Leonardo,You could try PositionalStream>>#upToAll: But watch out: if the substring does not occur, it will effectively read #upToEnd
Also, for searching for substrings in long strings this is extremely slow, much slower than BMH and KMP
Stephan