Re: [Pharo-dev] Problem with strings, quotes and scape them

2013-07-25 Thread Mariano Martinez Peck
Thanks Chris, the #printString was indeed a good idea :) On Wed, Jul 24, 2013 at 1:38 PM, Chris Cunningham cunningham...@gmail.comwrote: Doesn't just #printString do this? It escapes single strings into doubles - should do what you want if it is definitely a string. -Chris On Wed, Jul

Re: [Pharo-dev] Problem with strings, quotes and scape them

2013-07-25 Thread Igor Stasenko
On 24 July 2013 18:38, Chris Cunningham cunningham...@gmail.com wrote: Doesn't just #printString do this? It escapes single strings into doubles - should do what you want if it is definitely a string. -Chris yes, printString does exactly what you want. On Wed, Jul 24, 2013 at 8:34 AM,

[Pharo-dev] Problem with strings, quotes and scape them

2013-07-24 Thread Mariano Martinez Peck
Hi guys. I am a bit lost here and maybe someone can give me a hand. I have a string that may include a single quote inside. Say I have the string 'Sell ''13' . This string actually has a SINGLE quote, so if you print it in a file for example, you get 'Sell '13'. Of course, when you inspect the

Re: [Pharo-dev] Problem with strings, quotes and scape them

2013-07-24 Thread Stéphane Ducasse
On Jul 24, 2013, at 5:34 PM, Mariano Martinez Peck marianop...@gmail.com wrote: Hi guys. I am a bit lost here and maybe someone can give me a hand. I have a string that may include a single quote inside. Say I have the string 'Sell ''13' . This string actually has a SINGLE quote, so if you

Re: [Pharo-dev] Problem with strings, quotes and scape them

2013-07-24 Thread Chris Cunningham
Doesn't just #printString do this? It escapes single strings into doubles - should do what you want if it is definitely a string. -Chris On Wed, Jul 24, 2013 at 8:34 AM, Mariano Martinez Peck marianop...@gmail.com wrote: Hi guys. I am a bit lost here and maybe someone can give me a hand. I