[squeak-dev] self subStrings:'||'

gettimothy gettimothy at zoho.com
Thu Oct 24 15:38:17 UTC 2019


Hi all.



' Middle-left-cell || style="width: 14em;" | Middle-center-cell || Middle-right-cell' self subStrings:'|'

' Middle-left-cell || style="width: 14em;" | Middle-center-cell || Middle-right-cell' self subStrings:'||'



inspect both, they are identical.



Is this expected behavior?



Looking at the method:char := sourceStream next.




is the "problem" in that a match is had for the single pipe character.



Is there a better way to split that string along double pipes '||'  ?



thank you in advance.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.squeakfoundation.org/pipermail/squeak-dev/attachments/20191024/7cb35387/attachment.html>


More information about the Squeak-dev mailing list