[{"data":1,"prerenderedAt":282},["ShallowReactive",2],{"/dict/but-first-and-last":3,"/dict/but-first-and-last-surround":271},{"id":4,"title":5,"body":6,"description":236,"extension":237,"meta":238,"navigation":257,"path":267,"seo":268,"stem":269,"__hash__":270},"content/dict/but-first-and-last.md","NetLogo Dictionary: but-first-and-last",{"type":7,"value":8,"toc":225},"minimark",[9],[10,11,16,70,116,125,128],"div",{"className":12,"id":14,"role":15},[13],"dict_entry","but-first-and-last","region",[17,18,20,35,42,49,56,63],"h3",{"id":19},"but-first10butfirst10bf10but-last10butlast10bl10",[21,22,26,27],"a",{"href":23,"role":24,"ariaLabel":25},"#but-first-and-last","doc-noteref","Reference to but-first","\nbut-first\n",[28,29,34],"span",{"className":30,"role":32,"ariaLabel":33},[31],"since","note","Since version","\n1.0\n",[21,36,38,39],{"href":23,"role":24,"ariaLabel":37},"Reference to butfirst","\nbutfirst\n",[28,40,34],{"className":41,"role":32,"ariaLabel":33},[31],[21,43,45,46],{"href":23,"role":24,"ariaLabel":44},"Reference to bf","\nbf\n",[28,47,34],{"className":48,"role":32,"ariaLabel":33},[31],[21,50,52,53],{"href":23,"role":24,"ariaLabel":51},"Reference to but-last","\nbut-last\n",[28,54,34],{"className":55,"role":32,"ariaLabel":33},[31],[21,57,59,60],{"href":23,"role":24,"ariaLabel":58},"Reference to butlast","\nbutlast\n",[28,61,34],{"className":62,"role":32,"ariaLabel":33},[31],[21,64,66,67],{"href":23,"role":24,"ariaLabel":65},"Reference to bl","\nbl\n",[28,68,34],{"className":69,"role":32,"ariaLabel":33},[31],[71,72,76],"h4",{"id":73,"className":74},"but-first-listbut-first-stringbut-last-listbut-last-string",[75],"section-heading",[21,77,81,93,101,109],{"className":78,"href":80},[79],"section-anchor","#but-first-listbut-first-stringbut-last-listbut-last-string",[28,82,85],{"className":83},[84],"prim_example",[86,87,88,89],"p",{},"but-first ",[90,91,92],"em",{},"list",[28,94,96],{"className":95},[84],[86,97,88,98],{},[90,99,100],{},"string",[28,102,104],{"className":103},[84],[86,105,106,107],{},"but-last ",[90,108,92],{},[28,110,112],{"className":111},[84],[86,113,106,114],{},[90,115,100],{},[86,117,118,119,121,122,124],{},"When used on a list, but-first reports all of the list items of ",[90,120,92],{}," except the first, and but-last reports all of the list\nitems of ",[90,123,92],{}," except the last.",[86,126,127],{},"On strings, but-first and but-last report a shorter string omitting\nthe first or last character of the original string.",[129,130,131],"pre",{},[132,133,134,140,143,148,149,148,154,148,159,162,164,168,170,148,173,148,176,148,180,183,185,189,191,148,195,148,198,202,204,208,210,148,213,148,216,219,221],"code",{},[28,135,139],{"className":136},[137,138],"token","comment",";; mylist is [2 4 6 5 8 12]",[141,142],"br",{},[28,144,147],{"className":145},[137,146],"command","set"," ",[28,150,153],{"className":151},[137,152],"variable","mylist",[28,155,158],{"className":156},[137,157],"reporter","but-first",[28,160,153],{"className":161},[137,152],[141,163],{},[28,165,167],{"className":166},[137,138],";; mylist is now [4 6 5 8 12]",[141,169],{},[28,171,147],{"className":172},[137,146],[28,174,153],{"className":175},[137,152],[28,177,179],{"className":178},[137,157],"but-last",[28,181,153],{"className":182},[137,152],[141,184],{},[28,186,188],{"className":187},[137,138],";; mylist is now [4 6 5 8]",[141,190],{},[28,192,194],{"className":193},[137,146],"show",[28,196,158],{"className":197},[137,157],[28,199,201],{"className":200},[137,100],"\"string\"",[141,203],{},[28,205,207],{"className":206},[137,138],";; prints \"tring\"",[141,209],{},[28,211,194],{"className":212},[137,146],[28,214,179],{"className":215},[137,157],[28,217,201],{"className":218},[137,100],[141,220],{},[28,222,224],{"className":223},[137,138],";; prints \"strin\"",{"title":226,"searchDepth":227,"depth":228,"links":229},"",5,3,[230],{"id":19,"depth":228,"text":231,"children":232},"\nbut-first\n\n1.0\n\nbutfirst\n\n1.0\n\nbf\n\n1.0\n\nbut-last\n\n1.0\n\nbutlast\n\n1.0\n\nbl\n\n1.0\n",[233],{"id":73,"depth":234,"text":235},4,"but-first listbut-first stringbut-last listbut-last string","Documentation for the but-first-and-last primitive.","md",{"source":239,"metadataOutputPath":240,"projectConfig":241,"language":249,"inheritFrom":258,"output":257,"version":242,"layout":259,"dictionaryDisplayName":260,"dictionaryHomeDirectory":261,"indexFileURI":262,"currentItemId":14,"currentItemLabel":263,"primRoot":264,"icon":265,"assetsRoot":266},"autogen/dict/but-first-and-last.md","content/dict/but-first-and-last.metadata.yaml",{"version":242,"projectRoot":243,"scanRoot":244,"outputRoot":245,"defaults":246,"engine":252,"partials":253,"dedupeIdenticalDiskWrites":257},"7.0.4",".","autogen","content",{"inheritFrom":247,"language":249,"output":250,"extension":237,"title":251,"version":242},[248],0,"en",false,"NetLogo User Manual","handlebars",{"directoryPaths":254,"extensions":255},[243],[256,237],"mustache",true,[248],"catalog","NetLogo Dictionary","/dictionary.html","/_index/dict.txt","but-first, butfirst, bf, but-last, butlast, bl","dict","i-lucide-square-code","/home/runner/work/Helio/Helio/apps/docs/autogen","/dict/but-first-and-last",{"title":5,"description":236},"dict/but-first-and-last","TL-o1hca9INT1nooxAJgmCraTb-CdyaFQTQ6goG6QIo",[272,277],{"title":273,"path":274,"stem":275,"description":276},"NetLogo Dictionary: breedvar","/dict/breedvar","dict/breedvar","Documentation for the breedvar primitive.",{"title":278,"path":279,"stem":280,"description":281},"NetLogo Dictionary: can-move","/dict/can-move","dict/can-move","Documentation for the can-move primitive.",1777657799648]