I see , Thx, propably this is nad way, ;) Paul
W dniu poniedziałek, 2 marca 2015 13:01:36 UTC+1 użytkownik Tamas Papp napisał: > > I am afraid you are missing something fundamental here. > > Those double quotes are not part of the strings, they are just a > printing convention that Julia uses (which coincides with the read > syntax). > > Similarly, > > julia> print([1,2,3]) > [1,2,3] > > even though the array has no elements [ or ], not even ','. > > You have to decide what you want. Using Darwin Darakananda's solution, > you can write those strings into a file, and then naturally they would > have no quotes. Or if you want to transform them to something else which > is still a string, then quotes will appear when the output is printed at > the REPL, even if it has no quotes. > > By the way, these concepts are not specific to Julia. Unless you > understand the very basics of programming languages, you will have a > rather difficult time using Julia or any other language. > > hope this helps, > > Tamas > > On Mon, Mar 02 2015, Paul Analyst <[email protected] <javascript:>> > wrote: > > > look nice but result is "nothing" :) > > > > julia> a=map(println,[r]) > > <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN"> > > <html><head> > > <title>302 Found</title> > > </head><body> > > <h1>Found</h1> > > <p>The document has moved <a href="http://www4.rp.pl/">here</a>.</p> > > </body></html> > > > > 1-element Array{Void,1}: > > nothing > > Paul > > > > julia> > > W dniu 2015-03-02 o 06:51, Darwin Darakananda pisze: > >> How about something like > >> > >> | > >> map(println,["abc","def"]); > >> abc > >> def > >> | > >> > >> > >> > >> On Sunday, March 1, 2015 at 1:00:38 PM UTC-8, paul analyst wrote: > >> > >> I need :) > >> P > >> > >> W dniu niedziela, 1 marca 2015 20:47:15 UTC+1 użytkownik Simon > >> Danisch napisał: > >> > >> If I'm not mistaken, that's how an array of strings gets > >> displayed: > >> julia>["tets", "test"] > >> "test" > >> "test" > >> > >> So no need for removing them! > >> > >> Am Sonntag, 1. März 2015 19:51:40 UTC+1 schrieb paul analyst: > >> > >> Przetłumacz wiadomość na język polski > >> how to remove the quotation marks ?, like below.. > >> > >> julia> (split(bytestring(r.body),"\r\n")) > >> 180-element Array{SubString{UTF8String},1} > >> : > >> "<!DOCTYPE html>" > >> > >> > >> "<html>" > >> > >> > >> "<head>" > >> > >
