<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>munibus</author_name>
  <author_url>https://blog.hatena.ne.jp/munibus/</author_url>
  <blog_title>Muni Bus</blog_title>
  <blog_url>https://munibus.hatenablog.com/</blog_url>
  <categories>
    <anon>PowerShell</anon>
  </categories>
  <description>結合演算子-joinを使う。文字列リテラルを直接結合したい場合は、配列を括弧で囲んでから演算子を利用する。単項演算子として使用すると各文字列の間には何も挟まずに結合する。二項演算子として使用すると、最後に指定した文字を間に挟む。この場合は演算子の優先順位の都合上、配列は括弧で囲まなくてもよい。 PS &gt; $s = &quot;A&quot;, &quot;B&quot;, &quot;C&quot; PS &gt; $s A B C PS &gt; -join $s ABC PS &gt; -join &quot;A&quot;, &quot;B&quot;, &quot;C&quot; A B C PS &gt; -join (&quot;A&quot;, &quot;B&quot;, &quot;C&quot;) ABC PS &gt; &quot;A&quot;, &quot;B&quot;, &quot;C&quot; -join &quot;&quot; ABC PS…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fmunibus.hatenablog.com%2Fentry%2F2023%2F10%2F08%2F224859&quot; title=&quot;【PowerShell】文字列の配列を簡単に結合する - Muni Bus&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></image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2023-10-08 22:48:59</published>
  <title>【PowerShell】文字列の配列を簡単に結合する</title>
  <type>rich</type>
  <url>https://munibus.hatenablog.com/entry/2023/10/08/224859</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
