You might not realize it, but "replace" is a function, and that's what napisał was referring to.
--Tim On Sunday, May 17, 2015 01:03:30 AM paul analyst wrote: > I see, . No any hints? > Paul > > W dniu niedziela, 17 maja 2015 01:28:50 UTC+2 użytkownik [email protected] > > napisał: > > I don't think replace broadcasts, you have to write a loop applying > > replace to each string at a time. > > > > On Sunday, May 17, 2015 at 4:40:05 AM UTC+10, paul analyst wrote: > >> I have file with decimal separator lika "," > >> x=readdlm("x.txt",'\t') > >> > >> julia> x=x[2:end,:] > >> 6390x772 Array{Any,2}: > >> > >> some kolumns looks : > >> julia> x[:,69] > >> > >> 6390-element Array{Any,1}: > >> 0.0 > >> > >> "0,33" > >> "0,72" > >> "1,09" > >> "0,95" > >> "3,57" > >> "2,27" > >> "2,42" > >> > >> julia> replace(x[:,69],',','.') > >> ERROR: `replace` has no method matching replace(::Array{Any,1}, ::Char, > >> > >> ::Char) > >> > >> julia> replace(string(x[:,69],',','.')) > >> ERROR: `replace` has no method matching replace(::ASCIIString) > >> > >> > >> how to replace , to . ? > >> > >> I can repalce all , to . > >> > >> Paul
