[Pharo-project] Printing an array on file without quotes

Oscar E A Callau oalvarez at dcc.uchile.cl
Thu Nov 25 15:37:20 CET 2010

Hi all,

I'm trying to print arrays using:

FileStream forceNewFileNamed: 'path/file' do: [ :stream |
	stream print: myArray asCommaString withoutQuoting .
	... ]

The printing works well, but in the file, I get something like this:

'numbers, 1 , 2 , 3 , 4'

with quotes!. This is a little annoying, because I'm forced to manually remove the quotes. Is there a way to get the printed file without quoting?

Sorry for my n00b question .

Thanks in advance.

P.S.: Pharo image 1.1.1

 Oscar E. A. Callaú

More information about the Pharo-project mailing list