[{"data":1,"prerenderedAt":419},["ShallowReactive",2],{"/csv/from-row":3,"/csv/from-row-surround":408},{"id":4,"title":5,"body":6,"description":374,"extension":375,"meta":376,"navigation":394,"path":404,"seo":405,"stem":406,"__hash__":407},"content/csv/from-row.md","CSV Extension Dictionary: from-row",{"type":7,"value":8,"toc":363},"minimark",[9],[10,11,15,16,15,26,56,60,106,109,147,150,205,208,243,253,288,291,329,332],"div",{"className":12,"id":14},[13],"dict_entry","from-row","\n  ",[17,18,20,21,15],"h3",{"id":19},"csvfrom-row","\n    ",[22,23,25],"a",{"href":24},"#from-row","csv:from-row",[27,28,32],"h4",{"id":29,"className":30},"csvfrom-row-netlogo-string-csvfrom-row-netlogo-string-delimiter",[31],"section-heading",[22,33,20,37,20,47,15],{"className":34,"href":36},[35],"section-anchor","#----csvfrom-row-netlogo-string----csvfrom-row-netlogo-string-delimiter--",[38,39,42,43],"span",{"className":40},[41],"prim_example","csv:from-row ",[44,45,46],"i",{},"netlogo-string",[38,48,42,50,52,53],{"className":49},[41],[44,51,46],{}," ",[44,54,55],{},"delimiter",[57,58,59],"p",{},"Parses the given string as though it were a row from a CSV file and returns it as a list of values. For example:",[61,62,63],"pre",{},[64,65,66,52,72,52,77,52,80,85,88,92,93,52,97,52,101,105],"code",{},[38,67,71],{"className":68},[69,70],"token","variable","observer>",[38,73,76],{"className":74},[69,75],"command","show",[38,78,25],{"className":79},[69,70],[38,81,84],{"className":82},[69,83],"string","\"one,two,three\"",[86,87],"br",{},[38,89,91],{"className":90},[69,70],"observer:"," [",[38,94,96],{"className":95},[69,83],"\"one\"",[38,98,100],{"className":99},[69,83],"\"two\"",[38,102,104],{"className":103},[69,83],"\"three\"","]",[57,107,108],{},"Quotes can be used when items contain commas:",[61,110,111],{},[64,112,113,52,116,52,119,52,122,126,128,92,131,52,135,52,139,52,143,105],{},[38,114,71],{"className":115},[69,70],[38,117,76],{"className":118},[69,75],[38,120,25],{"className":121},[69,70],[38,123,125],{"className":124},[69,83],"\"there's,a,comma,\\\"in,here\\\"\"",[86,127],{},[38,129,91],{"className":130},[69,70],[38,132,134],{"className":133},[69,83],"\"there's\"",[38,136,138],{"className":137},[69,83],"\"a\"",[38,140,142],{"className":141},[69,83],"\"comma\"",[38,144,146],{"className":145},[69,83],"\"in,here\"",[57,148,149],{},"You can put two quotes in a row to put an actual quote in an entry. If the entry is not quoted, you can just use one quote:",[61,151,152],{},[64,153,154,52,157,161,162,52,165,169,170,174,176,52,180,52,184,188,190,52,194,52,198,52,201],{},[38,155,71],{"className":156},[69,70],[38,158,160],{"className":159},[69,75],"foreach"," (",[38,163,25],{"className":164},[69,70],[38,166,168],{"className":167},[69,83],"\"he said \\\"hi there\\\",\\\"afterwards, she said \\\"\\\"hello\\\"\\\"\\\"\"",") ",[38,171,173],{"className":172},[69,75],"print",[86,175],{},[38,177,179],{"className":178},[69,70],"he",[38,181,183],{"className":182},[69,70],"said",[38,185,187],{"className":186},[69,83],"\"hi there\"",[86,189],{},[38,191,193],{"className":192},[69,70],"afterwards,",[38,195,197],{"className":196},[69,70],"she",[38,199,183],{"className":200},[69,70],[38,202,204],{"className":203},[69,83],"\"hello\"",[57,206,207],{},"Number-like-entries will be parsed as numbers:",[61,209,210],{},[64,211,212,52,215,52,218,52,221,225,227,92,230,52,235,52,239,105],{},[38,213,71],{"className":214},[69,70],[38,216,76],{"className":217},[69,75],[38,219,25],{"className":220},[69,70],[38,222,224],{"className":223},[69,83],"\"1,-2.5,1e3\"",[86,226],{},[38,228,91],{"className":229},[69,70],[38,231,234],{"className":232},[69,233],"number","1",[38,236,238],{"className":237},[69,233],"-2.5",[38,240,242],{"className":241},[69,233],"1000",[57,244,245,248,249,252],{},[64,246,247],{},"true"," and ",[64,250,251],{},"false"," with any capitalization will be parsed as booleans:",[61,254,255],{},[64,256,257,52,260,52,263,52,266,270,272,92,275,52,279,52,282,52,285,105],{},[38,258,71],{"className":259},[69,70],[38,261,76],{"className":262},[69,75],[38,264,25],{"className":265},[69,70],[38,267,269],{"className":268},[69,83],"\"true,TRUE,False,falsE\"",[86,271],{},[38,273,91],{"className":274},[69,70],[38,276,247],{"className":277},[69,278],"constant",[38,280,247],{"className":281},[69,278],[38,283,251],{"className":284},[69,278],[38,286,251],{"className":287},[69,278],[57,289,290],{},"To use a different delimiter, you can specify a second, optional argument. Only single character delimiters are supported:",[61,292,293],{},[64,294,295,52,298,161,301,52,304,52,308,312,313,315,92,318,52,321,52,325,105],{},[38,296,71],{"className":297},[69,70],[38,299,76],{"className":300},[69,75],[38,302,25],{"className":303},[69,70],[38,305,307],{"className":306},[69,83],"\"1;2;3\"",[38,309,311],{"className":310},[69,83],"\";\"",")",[86,314],{},[38,316,91],{"className":317},[69,70],[38,319,234],{"className":320},[69,233],[38,322,324],{"className":323},[69,233],"2",[38,326,328],{"className":327},[69,233],"3",[57,330,331],{},"Different types of values can be mixed freely:",[61,333,334],{},[64,335,336,52,339,52,342,52,345,349,351,92,354,52,357,52,360,105],{},[38,337,71],{"className":338},[69,70],[38,340,76],{"className":341},[69,75],[38,343,25],{"className":344},[69,70],[38,346,348],{"className":347},[69,83],"\"one,2,true\"",[86,350],{},[38,352,91],{"className":353},[69,70],[38,355,96],{"className":356},[69,83],[38,358,324],{"className":359},[69,233],[38,361,247],{"className":362},[69,278],{"title":364,"searchDepth":365,"depth":366,"links":367},"",5,3,[368],{"id":19,"depth":366,"text":369,"children":370},"\n    csv:from-row\n  ",[371],{"id":29,"depth":372,"text":373},4,"\n    csv:from-row netlogo-string\n    csv:from-row netlogo-string delimiter\n  ","Documentation for the from-row primitive.","md",{"source":377,"metadataOutputPath":378,"projectConfig":379,"language":387,"inheritFrom":395,"output":394,"version":380,"layout":396,"dictionaryDisplayName":397,"dictionaryHomeDirectory":398,"indexFileURI":399,"currentItemId":14,"currentItemLabel":25,"primRoot":400,"icon":401,"extensionName":402,"assetsRoot":382},"../../external/extensions/csv/csv/from-row.md","content/csv/from-row.metadata.yaml",{"version":380,"projectRoot":381,"scanRoot":382,"outputRoot":383,"defaults":384,"engine":390,"partials":391,"dedupeIdenticalDiskWrites":394},"7.0.4",".","/home/runner/work/Helio/Helio/external/extensions/csv","content",{"inheritFrom":385,"language":387,"output":388,"extension":375,"title":389,"version":380},[386],0,"en",false,"NetLogo User Manual","mustache",{"directoryPaths":392,"extensions":393},[381],[390,375],true,[386],"catalog","CSV Extension Dictionary","/csv.html","/_index/extensions/csv.txt","csv","i-material-symbols-csv",{"shortName":400,"fullName":403},"CSV","/csv/from-row",{"title":5,"description":374},"csv/from-row","86g1gLDyWTGa_pIyv-8P8ph0c7xIJlXsJB_KyvE1SVg",[409,414],{"title":410,"path":411,"stem":412,"description":413,"children":-1},"CSV Extension Dictionary: from-file","/csv/from-file","csv/from-file","Documentation for the from-file primitive.",{"title":415,"path":416,"stem":417,"description":418,"children":-1},"CSV Extension Dictionary: from-string","/csv/from-string","csv/from-string","Documentation for the from-string primitive.",1777657765450]