[Pharo-dev] Why do we have doublequoting for "?

Gabriel Cotelli g.cotelli at gmail.com
Thu Feb 23 14:26:48 EST 2017


Try doing Ctrl+P twice. It will not comment the printed string.

On Thu, Feb 23, 2017 at 4:17 PM, stepharong <stepharong at free.fr> wrote:

> about quoting ;(
>
> Hi
>
> I have a string
>
>  '<li>
> <span class="author">Stéphane Ducasse and Damien Pollet</span>,
> <span class="title">Fingerprints</span>, <span class="journal">Journal of
> Information System</span>, <span class="year">2010</span>.
> </li>
> '
>
> and when I do printIt in the debugger I get the following
>
>
>  "'<li>
> <span class=""author"">Stéphane Ducasse and Damien Pollet</span>,
> <span class=""title"">Fingerprints</span>, <span
> class=""journal"">Journal of Information System</span>, <span
> class=""year"">2010</span>.
> </li>
> '"
>
> I do not get why we doublequote the character "
> inside string.
>
> It means that I have to remove all the " inside to string to be able to
> express tests.
>
> Stef
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.pharo.org/pipermail/pharo-dev_lists.pharo.org/attachments/20170223/1edae7c1/attachment.html>


More information about the Pharo-dev mailing list