<body><div id="__MailbirdStyleContent" style="font-size: 10pt;font-family: Arial;color: #000000;text-align: left" dir="ltr">
                                        FYI<div><br></div><div><a href="https://github.com/LinqLover/SimulationStudio#simulationstudio-tools"><span style="font-size: 10pt">https://github.com/LinqLover/SimulationStudio#simulationstudio-tools</span></a><br></div><div><br></div><div>Best,</div><div>Marcel</div><div class="mb_sig"></div><blockquote class='history_container' type='cite' style='border-left-style:solid;border-width:1px; margin-top:20px; margin-left:0px;padding-left:10px;'>
                        <p style='color: #AAAAAA; margin-top: 10px;'>Am 21.11.2022 01:11:41 schrieb Thiede, Christoph <christoph.thiede@student.hpi.uni-potsdam.de>:</p><div style='font-family:Arial,Helvetica,sans-serif'>
<div style="color: rgb(33, 33, 33); background-color: rgb(255, 255, 255);" dir="auto">
> Interestingly, the in-image Method Finder doesn't find either one.</div>
<div style="color: rgb(33, 33, 33); background-color: rgb(255, 255, 255);" dir="auto">
<br>
</div>
<div style="color: rgb(33, 33, 33); background-color: rgb(255, 255, 255);" dir="auto">
Simulation Method Finder does. :-)</div>
<div id="ms-outlook-mobile-signature" dir="auto">
<div><br>
</div>
<div dir="auto" style="text-align:left">Best,</div>
<div dir="auto" style="text-align:left">Christoph</div>
</div>
<div id="mail-editor-reference-message-container" dir="auto"><br>
<hr style="display:inline-block;width:98%" tabindex="-1">
<div id="divRplyFwdMsg" style="font-size: 11pt"><strong>Von:</strong> Squeak-dev <squeak-dev-bounces@lists.squeakfoundation.org> im Auftrag von Chris Muller <asqueaker@gmail.com><br>
<strong>Gesendet:</strong> Montag, 21. November 2022, 00:00<br>
<strong>An:</strong> The general-purpose Squeak developers list <squeak-dev@lists.squeakfoundation.org><br>
<strong>Betreff:</strong> Re: [squeak-dev] The Inbox: Collections-cmm.1022.mcz<br>
</div>
<br>
<div dir="ltr">You're all 100% right.  I had forgotten about #splitBy:, but changing subStrings: certainly didn't feel right.  Interestingly, the in-image Method Finder doesn't find either one.  Thank you, community!  :)
<div><br>
</div>
<div>I moved this to Treated.</div>
<div><br>
<div> - Chris</div>
</div>
</div>
<br>
<div class="gmail_quote">
<div dir="ltr" class="gmail_attr">On Sat, Nov 19, 2022 at 6:23 AM Thiede, Christoph <<a href="mailto:Christoph.Thiede@student.hpi.uni-potsdam.de" target="_blank">Christoph.Thiede@student.hpi.uni-potsdam.de</a>> wrote:<br>
</div>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex; border-left:1px solid rgb(204,204,204); padding-left:1ex">
<div>
<div id="m_4606979590514391471m_2725863602393670878m_2284037581045048679divtagdefaultwrapper" dir="ltr" style="font-size: 12pt;font-family: Calibri, Helvetica, sans-serif;color: rgb(0, 0, 0)">
<p>Hm ... don't we have #<span>splitBy: for this? This seems like a possibly dangerous breaking change to me. No strong opinion, though. :-)</span></p>
<p><span><br>
</span></p>
<p><span>Best,</span></p>
<p><span>Christoph</span></p>
</div>
<hr style="display:inline-block; width:98%">
<div id="m_4606979590514391471m_2725863602393670878m_2284037581045048679divRplyFwdMsg" dir="ltr">
<span style="font-family: Calibri, sans-serif;color: #000000"><b>Von:</b> Squeak-dev <<a href="mailto:squeak-dev-bounces@lists.squeakfoundation.org" target="_blank">squeak-dev-bounces@lists.squeakfoundation.org</a>> im Auftrag von Chris Muller <<a href="mailto:asqueaker@gmail.com" target="_blank">asqueaker@gmail.com</a>><br>
<b>Gesendet:</b> Samstag, 19. November 2022 06:24:43<br>
<b>An:</b> <a href="mailto:squeak-dev@lists.squeakfoundation.org" target="_blank">
squeak-dev@lists.squeakfoundation.org</a><br>
<b>Betreff:</b> Re: [squeak-dev] The Inbox: Collections-cmm.1022.mcz</span>
<div> </div>
</div>
<div>
<div dir="ltr">I don't know why subStrings: should behave differently for empty fields as non-empty.
<div><br>
</div>
<div>Before this change, empty fields are ignored:</div>
<div><br>
</div>
<div>    'a:b::d' subStrings: ':'  ==> " #('a' 'b' 'd') "</div>
<div>    '::::' subStrings: ':' ==> #()</div>
<div><br>
</div>
<div>after this change, empty fields are honored:</div>
<div><br>
</div>
<div>    'a:b::d' subStrings: ':'  ==> " #('a' 'b' '' 'd') "</div>
<div>    '::::' subStrings: ':' ==>  #('' '' '' '')</div>
<div><br>
</div>
<div>Thoughts?</div>
<div><br>
</div>
<div> - Chris    <br>
</div>
</div>
<br>
<div class="gmail_quote">
<div dir="ltr" class="gmail_attr">On Fri, Nov 18, 2022 at 11:14 PM <<a href="mailto:commits@source.squeak.org" target="_blank">commits@source.squeak.org</a>> wrote:<br>
</div>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex; border-left:1px solid rgb(204,204,204); padding-left:1ex">
Chris Muller uploaded a new version of Collections to project The Inbox:<br>
<a href="http://source.squeak.org/inbox/Collections-cmm.1022.mcz" rel="noreferrer" target="_blank">http://source.squeak.org/inbox/Collections-cmm.1022.mcz</a><br>
<br>
==================== Summary ====================<br>
<br>
Name: Collections-cmm.1022<br>
Author: cmm<br>
Time: 18 November 2022, 11:14:01.223447 pm<br>
UUID: 9a05d251-4f02-43de-94e8-0f077ec51680<br>
Ancestors: Collections-nice.1021<br>
<br>
Allow empty fields when using #subStrings:.<br>
<br>
=============== Diff against Collections-nice.1021 ===============<br>
<br>
Item was changed:<br>
  ----- Method: String>>subStrings: (in category 'converting') -----<br>
  subStrings: separators <br>
        "Answer an array containing the substrings in the receiver separated <br>
        by the elements of separators."<br>
        | char result sourceStream subString |<br>
-       #Collectn.<br>
-       "Changed 2000/04/08 For ANSI <readableString> protocol."<br>
        (separators isString or:[separators allSatisfy: [:element | element isCharacter]]) ifFalse:<br>
                [^ self error: 'separators must be Characters.'].<br>
        sourceStream := ReadStream on: self.<br>
        result := OrderedCollection new.<br>
        subString := String new.<br>
        [sourceStream atEnd]<br>
                whileFalse: <br>
                        [char := sourceStream next.<br>
                        (separators includes: char)<br>
+                               ifTrue: [result add: subString copy.<br>
+                                                       subString := String new]<br>
-                               ifTrue: [subString notEmpty<br>
-                                               ifTrue: <br>
-                                                       [result add: subString copy.<br>
-                                                       subString := String new]]<br>
                                ifFalse: [subString := subString , (String with: char)]].<br>
        subString notEmpty ifTrue: [result add: subString copy].<br>
        ^ result asArray!<br>
<br>
<br>
</blockquote>
</div>
</div>
</div>
<br>
</blockquote>
</div>
<br>
</div>
</div></blockquote>
                                        </div></body>