{"id":71,"date":"2008-10-28T23:24:40","date_gmt":"2008-10-29T06:24:40","guid":{"rendered":"https:\/\/actionsnippet.com\/?p=13"},"modified":"2008-10-28T23:24:40","modified_gmt":"2008-10-29T06:24:40","slug":"quick-alphabet-array","status":"publish","type":"post","link":"https:\/\/actionsnippet.com\/?p=71","title":{"rendered":"Quick Alphabet Array"},"content":{"rendered":"<pre class=\"brush: as3; title: ; notranslate\" title=\"\">\r\nvar alphabet:Array = (&quot;abcdefghijklmnopqrstuvwxyz&quot;).split(&quot;&quot;);\r\ntrace(&quot;this is the letter b...&quot;, alphabet&#x5B;1]);\r\ntrace(alphabet);\r\n\/* outputs:\r\nthis is the letter b... b\r\na,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z\r\n*\/\r\n<\/pre>\n<p>This is an easy way to create an array of the alphabet. It&#8217;s easier to type than:<\/p>\n<pre class=\"brush: as3; title: ; notranslate\" title=\"\">\r\nvar alphabet:Array = &#x5B;&quot;a&quot;,&quot;b&quot;,&quot;c&quot;.... etc];\r\n<\/pre>\n","protected":false},"excerpt":{"rendered":"<p>var alphabet:Array = (&quot;abcdefghijklmnopqrstuvwxyz&quot;).split(&quot;&quot;); trace(&quot;this is the letter b&#8230;&quot;, alphabet&#x5B;1]); trace(alphabet); \/* outputs: this is the letter b&#8230; b a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z *\/ This is an easy way to create an array of the alphabet. It&#8217;s easier to type than: var alphabet:Array = &#x5B;&quot;a&quot;,&quot;b&quot;,&quot;c&quot;&#8230;. etc];<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[19,20,21],"tags":[],"class_list":["post-71","post","type-post","status-publish","format-standard","hentry","category-arrays","category-string-manipulation","category-strings"],"_links":{"self":[{"href":"https:\/\/actionsnippet.com\/index.php?rest_route=\/wp\/v2\/posts\/71","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/actionsnippet.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/actionsnippet.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/actionsnippet.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/actionsnippet.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=71"}],"version-history":[{"count":0,"href":"https:\/\/actionsnippet.com\/index.php?rest_route=\/wp\/v2\/posts\/71\/revisions"}],"wp:attachment":[{"href":"https:\/\/actionsnippet.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=71"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/actionsnippet.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=71"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/actionsnippet.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=71"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}