<html><body><div class="gmail_quote">
<div dir="ltr" class="gmail_attr">On Jul 28, 2025 at 9:12:53 AM, Michael Van Canneyt <<a href="mailto:michael@freepascal.org">michael@freepascal.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" type="cite">
<div>Because the amount of whitespace to remove at the start of every line <br>is determined by the amount of spaces before the closing triple quotes.<br><br>Ergo, you can only strip the whitespaces at the start of every line <br>after the whole string was parsed and you have determined the<br>number of whitespace characters to remove from every line... <br>-> 2 passes.<br></div>
</blockquote>
</div>
<div><br></div>oh I re-read the first email and see its implemented differently.<div><br></div><div>I’ve been using multi lines strings in Swift for my day job for a few years now and got used to the “”” style which include indentation too and I’ve had no complaints. Since whitespace is important to multiline strings having the compiler enforce indentation rules makes sense to me.</div><div><br></div><div dir="ltr">Personally I’ll be using the ‘’’ variant so I don’t need to change syntax definitions in Sublime Text + VSCode and how many others that I may come across.</div><div><br><div dir="ltr"><div><div dir="ltr"><div><div class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr">Regards,</div> Ryan Joseph</div></div><br>
</div>
</div></div></div></body></html>