{"description":"substr\u95a2\u6570\u306f\u3001\u5168\u6587\u5b57\u5217\u4e2d\uff08expr\uff09\u3092\u30aa\u30d5\u30bb\u30c3\u30c8\uff08offset\uff09\u304b\u3089\u6307\u5b9a\u9577\u5206\uff08length\uff09\u3092\u53d6\u5f97\u3057\u305f\u308a\u3001\u305d\u308c\u3092\u7f6e\u63db\u6587\u5b57\u5217\u3067\u7f6e\u63db\u3057\u305f\u308a\u3057\u307e\u3059\u3002 \u305f\u3060\u3057\u3001\u6b63\u898f\u8868\u73fe\u306f\u4f7f\u3048\u306a\u3044\u3002 offset\u3084length\u3092\u30de\u30a4\u30ca\u30b9\u306b\u3059\u308b\u6642\u306f\u3001\u8981\u30c1\u30a7\u30c3\u30af\u3067\u3059\u3002 \u69cb\u6587 substr(expr, offset, length) \u30c6\u30b9\u30c8\u30b5\u30f3\u30d7\u30eb\u30bd\u30fc\u30b9\uff08test.pl\uff09 use strict; use warnings; my $string = \"01234567890123456789\"; my $str1 = substr($string, 0); my $str2 = substr($string, 2); \u2026","provider_url":"https://hatena.blog","width":"100%","title":" substr\u306e\u632f\u308b\u821e\u3044","provider_name":"Hatena Blog","url":"https://chaipa.hateblo.jp/entry/20080405/1207347552","blog_url":"https://chaipa.hateblo.jp/","height":"190","categories":["Perl\u30ce\u30fc\u30c8"],"version":"1.0","type":"rich","image_url":null,"author_name":"chaichanPaPa","author_url":"https://blog.hatena.ne.jp/chaichanPaPa/","published":"2008-04-05 07:19:12","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fchaipa.hateblo.jp%2Fentry%2F20080405%2F1207347552\" title=\" substr\u306e\u632f\u308b\u821e\u3044 - \u65e7\u71c8\u660e\u65e5\u8a18\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","blog_title":"\u65e7\u71c8\u660e\u65e5\u8a18"}