If you have plenty of time, try scanning these conversations for an answer:
https://groups.google.com/forum/#!msg/julia-dev/4K6S7tWnuEs/RF6x-f59IaoJ https://groups.google.com/forum/#!topic/julia-users/nQg_d_n0t1Q https://github.com/JuliaLang/julia/issues/1771 https://github.com/JuliaLang/julia/issues/2301 If you're up for it, an update to the FAQ section of the docs <http://julia.readthedocs.org/en/latest/manual/faq/> with this information would probably be welcome! Cheers, Kevin On Sun, Jan 18, 2015 at 7:01 AM, David van Leeuwen < [email protected]> wrote: > On Friday, January 16, 2015 at 2:44:51 PM UTC+1, Steven G. Johnson wrote: >> >> >> >> On Friday, January 16, 2015 at 6:59:19 AM UTC-5, K leo wrote: >>> >>> I want the array to be initialized with every element being "". Can't >>> say about 0.3.4, but it definitely worked under 0.3.3. Are there any other >>> easy ways for what I want? >> >> >> If anything, this should be ones(UTF8String, n). Since * is the >> string-concatenation operator, then and "" is the identity element for >> concatenation, then one(UTF8String) should give "". >> > > This makes sense, but what was the original argument to choose * as string > concatenation, and not, for instance, +, like in some other languages? > > ---david >
