<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>stknohg</author_name>
  <author_url>https://blog.hatena.ne.jp/stknohg/</author_url>
  <blog_title>しばたテックブログ</blog_title>
  <blog_url>https://blog.shibata.tech/</blog_url>
  <categories>
    <anon>PowerShell</anon>
  </categories>
  <description>とあるPull RequestがきっかけでPowerShell 6.0 RC1から範囲演算子(..演算子)が拡張され、Int型だけでなくChar型も扱える様になりました。 本エントリではその内容について説明します。 範囲演算子でChar型が扱える様になります もともと範囲演算子(..)は、 1..5 の様に[Int型の数値]..[Int型の数値]の形式をとり、指定した数値間で連続する要素を持つ配列を生成します。 # 1～5を要素にもつ配列が生成される 1..5 =&gt; (1,2,3,4,5) 今回、この指定がChar型を取れる様に拡張され、以下の様な記述が可能になります。 'a'..'e' この…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fblog.shibata.tech%2Fentry%2F2017%2F12%2F21%2F214732&quot; title=&quot;PowerShell 6.0で範囲演算子(..演算子)が拡張される話 - しばたテックブログ&quot; class=&quot;embed-card embed-blogcard&quot; scrolling=&quot;no&quot; frameborder=&quot;0&quot; style=&quot;display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;&quot;&gt;&lt;/iframe&gt;</html>
  <image_url>https://cdn-ak.f.st-hatena.com/images/fotolife/s/stknohg/20171221/20171221213133.png</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2017-12-21 21:47:32</published>
  <title>PowerShell 6.0で範囲演算子(..演算子)が拡張される話</title>
  <type>rich</type>
  <url>https://blog.shibata.tech/entry/2017/12/21/214732</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
