<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>perlcodesample</author_name>
  <author_url>https://blog.hatena.ne.jp/perlcodesample/</author_url>
  <blog_title>Perl入門ゼミ</blog_title>
  <blog_url>https://perlcodesample.hatenadiary.jp/</blog_url>
  <categories>
  </categories>
  <description>Perl › 関数 › here split関数を使用すると区切り文字を指定して文字列を分割することができます。 my @ret = split(/,/, $person_csv); 第1引数には区切り文字を正規表現で指定します。第2引数には分割したい文字列を指定します。戻り値は分割された文字列の配列です。 正規表現を使う split関数は、第一引数に正規表現を受け取るので、複数の空白で分割ということも簡単にできます。 my @ret = split(/ +/, $line); 文字列の連結 split関数は、文字列を分解しますが、その反対の操作として、文字列の連結を行いたい場合は、join関…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fperlcodesample.hatenadiary.jp%2Fentry%2F20080301%2F1204347353&quot; title=&quot;split関数 - 文字列の分割 - Perl入門ゼミ&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>2008-03-01 13:55:53</published>
  <title>split関数 - 文字列の分割</title>
  <type>rich</type>
  <url>https://perlcodesample.hatenadiary.jp/entry/20080301/1204347353</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
