It is a bad idea to modify internal data, even though it is allowed. If you want a mutable string-like object, we have a IOBuffer() type which is designed for building up strings.
On Thu, Mar 20, 2014 at 10:59 PM, J Luis <jmfl...@gmail.com> wrote: > Well, ... thanks > > But "naive" question though. If we can do it with elaborate tricks, why > not just have a clean & simple way? > > > Sexta-feira, 21 de Março de 2014 2:21:45 UTC, J Luis escreveu: > >> Why can't we do this? (and how can I do it?) >> >> julia> s >> "@GMTAPI@-000000\0 -R-10/0/35/45 -JM14c -Ba2 -P > lixo.ps" >> >> julia> s[16] = " " >> ERROR: no method setindex!(ASCIIString, ASCIIString, Int64) >> >> >>