aString intersection: anotherString

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

aString intersection: anotherString

marcel.taeumel
Hi, there!

I understand that Collection >> #intersection: works on a set basis. However, I wonder whether for string operations

'aaaxxxbbb' intersection: 'uxb'

should rather return 'xb' instead of 'xxxbbb'.

Best,
Marcel