[Newbies] String question
Joseph Alotta
joseph.alotta at gmail.com
Thu Dec 29 05:39:43 UTC 2016
I see.
You are looking to find the escape sequence.
I tried x := ‘Transcript show: \’abc\’.’.
But that doesn’t work.
I’m only a beginner myself. I wonder where the others are in this group?
Sincerely,
Joseph.
> On Dec 28, 2016, at 10:42 PM, obrienj [via Smalltalk] <ml-node+s1294792n4928343h82 at n4.nabble.com> wrote:
>
> I'm not trying to join anything. I want to put Transcript show: 'abc'. (including the period) into string x.
>
> A simpler example: x := 'abc.'. puts abc. into x, so why doesn't x := ''abc'.' put 'abc.' into x (the single quotes are part of the string)?
>
>
>
> -------- Original Message --------
>
>
>
>
>
>> -------- Original Message --------
>> Subject: Re: [Newbies] String question
>> Local Time: December 28, 2016 3:49 PM
>> UTC Time: December 28, 2016 11:49 PM
>> From: [hidden email]
>> To: [hidden email]
>>
>> I think you are using the period as a join operator. The join operator is a comma.
>>
>>
>>
>> > On Dec 28, 2016, at 4:26 PM, obrienj [via Smalltalk] <[hidden email]> wrote:
>> >
>> > Why does the x := 'Transcript show: 'abc'.'. yield x := 'Transcript show: 'abc Nothing more expected ->'.'. ?
>> >
>> >
>> >
>> >
>> >
>> > _______________________________________________
>> > Beginners mailing list
>> > [hidden email]
>> > http://lists.squeakfoundation.org/mailman/listinfo/beginners
>> >
>> >
>> > If you reply to this email, your message will be added to the discussion below:
>> > http://forum.world.st/String-question-tp4928334.html
>> > To start a new topic under Squeak - Beginners, email [hidden email]
>> > To unsubscribe from Squeak - Beginners, click here.
>> > NAML
>>
>>
>> View this message in context:Re: String question
>> Sent from the Squeak - Beginners mailing list archive at Nabble.com.
>
>
> _______________________________________________
> Beginners mailing list
> [hidden email]
> http://lists.squeakfoundation.org/mailman/listinfo/beginners
>
>
> If you reply to this email, your message will be added to the discussion below:
> http://forum.world.st/String-question-tp4928334p4928343.html
> To start a new topic under Squeak - Beginners, email ml-node+s1294792n107673h12 at n4.nabble.com
> To unsubscribe from Squeak - Beginners, click here.
> NAML
--
View this message in context: http://forum.world.st/String-question-tp4928334p4928344.html
Sent from the Squeak - Beginners mailing list archive at Nabble.com.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.squeakfoundation.org/pipermail/beginners/attachments/20161228/5feb20db/attachment.html>
More information about the Beginners
mailing list