something similar String withAll: { $a. Character space. $b }. On Tue, Nov 8, 2016 at 10:52 AM, Dimitris Chloupis <kilon.alios@gmail.com> wrote:
On Tue, Nov 8, 2016 at 3:42 PM Nicolai Hess <nicolaihess@gmail.com> wrote:
2016-11-08 14:31 GMT+01:00 Dimitris Chloupis <kilon.alios@gmail.com>:
I feel like stupid but I cannot find a way to convert an Array of Characters to a String , I can do with a do: and join characters converted to strings to a single string but it feels too many steps.
Is there a simpler way ?
String newFrom:{ $a . $b . $c }. { $a . $b . $c } as:String.
Its so weird that
{ $a . $b . $c } as:String.
works but
{ $a . $b . $c } asString.
does not
the latter returns a string that contains something like
{$S. $e. $d. Character space. $o. $r. $n. $a. $r. $e. C
In any case Thanks Nicolai it works :)
-- Bernardo E.C. Sent from a cheap desktop computer in South America.