{"id":112786,"date":"2024-03-22T20:28:37","date_gmt":"2024-03-22T11:28:37","guid":{"rendered":"https:\/\/www.silicloud.com\/ja\/blog\/python%e3%81%a7%e6%96%87%e5%ad%97%e3%81%ae%e6%9c%80%e5%88%9d%e3%81%ae%e5%87%ba%e7%8f%be%e4%bd%8d%e7%bd%ae%e3%82%92%e8%a6%8b%e3%81%a4%e3%81%91%e3%82%8b%e6%96%b9%e6%b3%95\/"},"modified":"2024-04-05T19:53:35","modified_gmt":"2024-04-05T10:53:35","slug":"python%e3%81%a7%e6%96%87%e5%ad%97%e3%81%ae%e6%9c%80%e5%88%9d%e3%81%ae%e5%87%ba%e7%8f%be%e4%bd%8d%e7%bd%ae%e3%82%92%e8%a6%8b%e3%81%a4%e3%81%91%e3%82%8b%e6%96%b9%e6%b3%95","status":"publish","type":"post","link":"https:\/\/www.silicloud.com\/ja\/blog\/python%e3%81%a7%e6%96%87%e5%ad%97%e3%81%ae%e6%9c%80%e5%88%9d%e3%81%ae%e5%87%ba%e7%8f%be%e4%bd%8d%e7%bd%ae%e3%82%92%e8%a6%8b%e3%81%a4%e3%81%91%e3%82%8b%e6%96%b9%e6%b3%95\/","title":{"rendered":"python\u3067\u6587\u5b57\u306e\u6700\u521d\u306e\u51fa\u73fe\u4f4d\u7f6e\u3092\u898b\u3064\u3051\u308b\u65b9\u6cd5"},"content":{"rendered":"<p>\u6587\u5b57\u5217\u306e find() \u30e1\u30bd\u30c3\u30c9\u3092\u4f7f\u3063\u3066\u3001\u6587\u5b57\u304c\u6700\u521d\u306b\u73fe\u308c\u308b\u5834\u6240\u3092\u898b\u3064\u3051\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002find() \u30e1\u30bd\u30c3\u30c9\u306f\u3001\u6587\u5b57\u304c\u6587\u5b57\u5217\u5185\u306b\u3042\u308b\u30a4\u30f3\u30c7\u30c3\u30af\u30b9\u3092\u8fd4\u3057\u307e\u3059\u3002\u6587\u5b57\u304c\u542b\u307e\u308c\u306a\u3044\u5834\u5408\u3001-1 \u3092\u8fd4\u3057\u307e\u3059\u3002<\/p>\n<p>\u4e00\u4f8b\u3092\u4ee5\u4e0b\u306b\u793a\u3059\uff1a<\/p>\n<pre class=\"post-pre\"><code>text = <span class=\"hljs-string\">\"Hello, world!\"<\/span>\r\n\r\n<span class=\"hljs-comment\"># \u67e5\u627e\u5b57\u7b26'o'\u7b2c\u4e00\u6b21\u51fa\u73b0\u7684\u4f4d\u7f6e<\/span>\r\nindex = text.find(<span class=\"hljs-string\">'o'<\/span>)\r\n<span class=\"hljs-built_in\">print<\/span>(index)  <span class=\"hljs-comment\"># \u8f93\u51fa\uff1a4<\/span>\r\n<\/code><\/pre>\n<p>find() \u30e1\u30bd\u30c3\u30c9\u3067\u5927\u6587\u5b57\u5c0f\u6587\u5b57\u3092\u533a\u5225\u305b\u305a\u306b\u6587\u5b57\u5217\u3092\u691c\u7d22\u3057\u305f\u3044\u5834\u5408\u306f\u3001\u3042\u3089\u304b\u3058\u3081\u6587\u5b57\u5217\u5168\u4f53\u3092\u5c0f\u6587\u5b57\u307e\u305f\u306f\u5927\u6587\u5b57\u306b\u5909\u63db\u3057\u3066\u304b\u3089\u3001find() \u30e1\u30bd\u30c3\u30c9\u3092\u4f7f\u7528\u3057\u307e\u3059\u3002\u4f8b\u3048\u3070\u3001text.lower().find(&#8216;o&#8217;) \u3067\u3059\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u6587\u5b57\u5217\u306e find() \u30e1\u30bd\u30c3\u30c9\u3092\u4f7f\u3063\u3066\u3001\u6587\u5b57\u304c\u6700\u521d\u306b\u73fe\u308c\u308b\u5834\u6240\u3092\u898b\u3064\u3051\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002find() \u30e1\u30bd\u30c3\u30c9\u306f\u3001\u6587\u5b57\u304c\u6587\u5b57\u5217\u5185\u306b\u3042\u308b\u30a4\u30f3\u30c7\u30c3\u30af\u30b9\u3092\u8fd4\u3057\u307e\u3059\u3002\u6587\u5b57\u304c\u542b\u307e\u308c\u306a\u3044\u5834\u5408\u3001-1 \u3092\u8fd4\u3057\u307e\u3059\u3002 \u4e00\u4f8b\u3092\u4ee5\u4e0b\u306b\u793a\u3059\uff1a [&hellip;]<\/p>\n","protected":false},"author":9,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-112786","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"yoast_head":"<!-- This site is optimized with the Yoast SEO Premium plugin v21.5 (Yoast SEO v21.5) - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>python\u3067\u6587\u5b57\u306e\u6700\u521d\u306e\u51fa\u73fe\u4f4d\u7f6e\u3092\u898b\u3064\u3051\u308b\u65b9\u6cd5 - Blog - Silicon Cloud<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.silicloud.com\/ja\/blog\/python\u3067\u6587\u5b57\u306e\u6700\u521d\u306e\u51fa\u73fe\u4f4d\u7f6e\u3092\u898b\u3064\u3051\u308b\u65b9\u6cd5\/\" \/>\n<meta property=\"og:locale\" content=\"ja_JP\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"python\u3067\u6587\u5b57\u306e\u6700\u521d\u306e\u51fa\u73fe\u4f4d\u7f6e\u3092\u898b\u3064\u3051\u308b\u65b9\u6cd5\" \/>\n<meta property=\"og:description\" content=\"\u6587\u5b57\u5217\u306e find() \u30e1\u30bd\u30c3\u30c9\u3092\u4f7f\u3063\u3066\u3001\u6587\u5b57\u304c\u6700\u521d\u306b\u73fe\u308c\u308b\u5834\u6240\u3092\u898b\u3064\u3051\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002find() \u30e1\u30bd\u30c3\u30c9\u306f\u3001\u6587\u5b57\u304c\u6587\u5b57\u5217\u5185\u306b\u3042\u308b\u30a4\u30f3\u30c7\u30c3\u30af\u30b9\u3092\u8fd4\u3057\u307e\u3059\u3002\u6587\u5b57\u304c\u542b\u307e\u308c\u306a\u3044\u5834\u5408\u3001-1 \u3092\u8fd4\u3057\u307e\u3059\u3002 \u4e00\u4f8b\u3092\u4ee5\u4e0b\u306b\u793a\u3059\uff1a [&hellip;]\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.silicloud.com\/ja\/blog\/python\u3067\u6587\u5b57\u306e\u6700\u521d\u306e\u51fa\u73fe\u4f4d\u7f6e\u3092\u898b\u3064\u3051\u308b\u65b9\u6cd5\/\" \/>\n<meta property=\"og:site_name\" content=\"Blog - Silicon Cloud\" \/>\n<meta property=\"article:published_time\" content=\"2024-03-22T11:28:37+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2024-04-05T10:53:35+00:00\" \/>\n<meta name=\"author\" content=\"\u590f\u6a39, \u98a8\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"\u57f7\u7b46\u8005\" \/>\n\t<meta name=\"twitter:data1\" content=\"\u590f\u6a39, \u98a8\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.silicloud.com\/ja\/blog\/python%e3%81%a7%e6%96%87%e5%ad%97%e3%81%ae%e6%9c%80%e5%88%9d%e3%81%ae%e5%87%ba%e7%8f%be%e4%bd%8d%e7%bd%ae%e3%82%92%e8%a6%8b%e3%81%a4%e3%81%91%e3%82%8b%e6%96%b9%e6%b3%95\/\",\"url\":\"https:\/\/www.silicloud.com\/ja\/blog\/python%e3%81%a7%e6%96%87%e5%ad%97%e3%81%ae%e6%9c%80%e5%88%9d%e3%81%ae%e5%87%ba%e7%8f%be%e4%bd%8d%e7%bd%ae%e3%82%92%e8%a6%8b%e3%81%a4%e3%81%91%e3%82%8b%e6%96%b9%e6%b3%95\/\",\"name\":\"python\u3067\u6587\u5b57\u306e\u6700\u521d\u306e\u51fa\u73fe\u4f4d\u7f6e\u3092\u898b\u3064\u3051\u308b\u65b9\u6cd5 - Blog - Silicon Cloud\",\"isPartOf\":{\"@id\":\"https:\/\/www.silicloud.com\/ja\/blog\/#website\"},\"datePublished\":\"2024-03-22T11:28:37+00:00\",\"dateModified\":\"2024-04-05T10:53:35+00:00\",\"author\":{\"@id\":\"https:\/\/www.silicloud.com\/ja\/blog\/#\/schema\/person\/4e591db2661c4cc425470b461259391d\"},\"breadcrumb\":{\"@id\":\"https:\/\/www.silicloud.com\/ja\/blog\/python%e3%81%a7%e6%96%87%e5%ad%97%e3%81%ae%e6%9c%80%e5%88%9d%e3%81%ae%e5%87%ba%e7%8f%be%e4%bd%8d%e7%bd%ae%e3%82%92%e8%a6%8b%e3%81%a4%e3%81%91%e3%82%8b%e6%96%b9%e6%b3%95\/#breadcrumb\"},\"inLanguage\":\"ja\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.silicloud.com\/ja\/blog\/python%e3%81%a7%e6%96%87%e5%ad%97%e3%81%ae%e6%9c%80%e5%88%9d%e3%81%ae%e5%87%ba%e7%8f%be%e4%bd%8d%e7%bd%ae%e3%82%92%e8%a6%8b%e3%81%a4%e3%81%91%e3%82%8b%e6%96%b9%e6%b3%95\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.silicloud.com\/ja\/blog\/python%e3%81%a7%e6%96%87%e5%ad%97%e3%81%ae%e6%9c%80%e5%88%9d%e3%81%ae%e5%87%ba%e7%8f%be%e4%bd%8d%e7%bd%ae%e3%82%92%e8%a6%8b%e3%81%a4%e3%81%91%e3%82%8b%e6%96%b9%e6%b3%95\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"\u9996\u9875\",\"item\":\"https:\/\/www.silicloud.com\/ja\/blog\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"python\u3067\u6587\u5b57\u306e\u6700\u521d\u306e\u51fa\u73fe\u4f4d\u7f6e\u3092\u898b\u3064\u3051\u308b\u65b9\u6cd5\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.silicloud.com\/ja\/blog\/#website\",\"url\":\"https:\/\/www.silicloud.com\/ja\/blog\/\",\"name\":\"Blog - Silicon Cloud\",\"description\":\"\",\"inLanguage\":\"ja\"},{\"@type\":\"Person\",\"@id\":\"https:\/\/www.silicloud.com\/ja\/blog\/#\/schema\/person\/4e591db2661c4cc425470b461259391d\",\"name\":\"\u590f\u6a39, \u98a8\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"ja\",\"@id\":\"https:\/\/www.silicloud.com\/ja\/blog\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/65e0ff40534461b1fa000382dc194e1716f793ab0bcb218ac3c40895551a08c5?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/65e0ff40534461b1fa000382dc194e1716f793ab0bcb218ac3c40895551a08c5?s=96&d=mm&r=g\",\"caption\":\"\u590f\u6a39, \u98a8\"},\"url\":\"https:\/\/www.silicloud.com\/ja\/blog\/author\/natsukikaze\/\"},{\"@type\":\"ImageObject\",\"inLanguage\":\"ja\",\"@id\":\"https:\/\/www.silicloud.com\/ja\/blog\/python%e3%81%a7%e6%96%87%e5%ad%97%e3%81%ae%e6%9c%80%e5%88%9d%e3%81%ae%e5%87%ba%e7%8f%be%e4%bd%8d%e7%bd%ae%e3%82%92%e8%a6%8b%e3%81%a4%e3%81%91%e3%82%8b%e6%96%b9%e6%b3%95\/#local-main-organization-logo\",\"url\":\"\",\"contentUrl\":\"\",\"caption\":\"Blog - Silicon Cloud\"}]}<\/script>\n<!-- \/ Yoast SEO Premium plugin. -->","yoast_head_json":{"title":"python\u3067\u6587\u5b57\u306e\u6700\u521d\u306e\u51fa\u73fe\u4f4d\u7f6e\u3092\u898b\u3064\u3051\u308b\u65b9\u6cd5 - Blog - Silicon Cloud","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.silicloud.com\/ja\/blog\/python\u3067\u6587\u5b57\u306e\u6700\u521d\u306e\u51fa\u73fe\u4f4d\u7f6e\u3092\u898b\u3064\u3051\u308b\u65b9\u6cd5\/","og_locale":"ja_JP","og_type":"article","og_title":"python\u3067\u6587\u5b57\u306e\u6700\u521d\u306e\u51fa\u73fe\u4f4d\u7f6e\u3092\u898b\u3064\u3051\u308b\u65b9\u6cd5","og_description":"\u6587\u5b57\u5217\u306e find() \u30e1\u30bd\u30c3\u30c9\u3092\u4f7f\u3063\u3066\u3001\u6587\u5b57\u304c\u6700\u521d\u306b\u73fe\u308c\u308b\u5834\u6240\u3092\u898b\u3064\u3051\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002find() \u30e1\u30bd\u30c3\u30c9\u306f\u3001\u6587\u5b57\u304c\u6587\u5b57\u5217\u5185\u306b\u3042\u308b\u30a4\u30f3\u30c7\u30c3\u30af\u30b9\u3092\u8fd4\u3057\u307e\u3059\u3002\u6587\u5b57\u304c\u542b\u307e\u308c\u306a\u3044\u5834\u5408\u3001-1 \u3092\u8fd4\u3057\u307e\u3059\u3002 \u4e00\u4f8b\u3092\u4ee5\u4e0b\u306b\u793a\u3059\uff1a [&hellip;]","og_url":"https:\/\/www.silicloud.com\/ja\/blog\/python\u3067\u6587\u5b57\u306e\u6700\u521d\u306e\u51fa\u73fe\u4f4d\u7f6e\u3092\u898b\u3064\u3051\u308b\u65b9\u6cd5\/","og_site_name":"Blog - Silicon Cloud","article_published_time":"2024-03-22T11:28:37+00:00","article_modified_time":"2024-04-05T10:53:35+00:00","author":"\u590f\u6a39, \u98a8","twitter_card":"summary_large_image","twitter_misc":{"\u57f7\u7b46\u8005":"\u590f\u6a39, \u98a8"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/www.silicloud.com\/ja\/blog\/python%e3%81%a7%e6%96%87%e5%ad%97%e3%81%ae%e6%9c%80%e5%88%9d%e3%81%ae%e5%87%ba%e7%8f%be%e4%bd%8d%e7%bd%ae%e3%82%92%e8%a6%8b%e3%81%a4%e3%81%91%e3%82%8b%e6%96%b9%e6%b3%95\/","url":"https:\/\/www.silicloud.com\/ja\/blog\/python%e3%81%a7%e6%96%87%e5%ad%97%e3%81%ae%e6%9c%80%e5%88%9d%e3%81%ae%e5%87%ba%e7%8f%be%e4%bd%8d%e7%bd%ae%e3%82%92%e8%a6%8b%e3%81%a4%e3%81%91%e3%82%8b%e6%96%b9%e6%b3%95\/","name":"python\u3067\u6587\u5b57\u306e\u6700\u521d\u306e\u51fa\u73fe\u4f4d\u7f6e\u3092\u898b\u3064\u3051\u308b\u65b9\u6cd5 - Blog - Silicon Cloud","isPartOf":{"@id":"https:\/\/www.silicloud.com\/ja\/blog\/#website"},"datePublished":"2024-03-22T11:28:37+00:00","dateModified":"2024-04-05T10:53:35+00:00","author":{"@id":"https:\/\/www.silicloud.com\/ja\/blog\/#\/schema\/person\/4e591db2661c4cc425470b461259391d"},"breadcrumb":{"@id":"https:\/\/www.silicloud.com\/ja\/blog\/python%e3%81%a7%e6%96%87%e5%ad%97%e3%81%ae%e6%9c%80%e5%88%9d%e3%81%ae%e5%87%ba%e7%8f%be%e4%bd%8d%e7%bd%ae%e3%82%92%e8%a6%8b%e3%81%a4%e3%81%91%e3%82%8b%e6%96%b9%e6%b3%95\/#breadcrumb"},"inLanguage":"ja","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.silicloud.com\/ja\/blog\/python%e3%81%a7%e6%96%87%e5%ad%97%e3%81%ae%e6%9c%80%e5%88%9d%e3%81%ae%e5%87%ba%e7%8f%be%e4%bd%8d%e7%bd%ae%e3%82%92%e8%a6%8b%e3%81%a4%e3%81%91%e3%82%8b%e6%96%b9%e6%b3%95\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.silicloud.com\/ja\/blog\/python%e3%81%a7%e6%96%87%e5%ad%97%e3%81%ae%e6%9c%80%e5%88%9d%e3%81%ae%e5%87%ba%e7%8f%be%e4%bd%8d%e7%bd%ae%e3%82%92%e8%a6%8b%e3%81%a4%e3%81%91%e3%82%8b%e6%96%b9%e6%b3%95\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"\u9996\u9875","item":"https:\/\/www.silicloud.com\/ja\/blog\/"},{"@type":"ListItem","position":2,"name":"python\u3067\u6587\u5b57\u306e\u6700\u521d\u306e\u51fa\u73fe\u4f4d\u7f6e\u3092\u898b\u3064\u3051\u308b\u65b9\u6cd5"}]},{"@type":"WebSite","@id":"https:\/\/www.silicloud.com\/ja\/blog\/#website","url":"https:\/\/www.silicloud.com\/ja\/blog\/","name":"Blog - Silicon Cloud","description":"","inLanguage":"ja"},{"@type":"Person","@id":"https:\/\/www.silicloud.com\/ja\/blog\/#\/schema\/person\/4e591db2661c4cc425470b461259391d","name":"\u590f\u6a39, \u98a8","image":{"@type":"ImageObject","inLanguage":"ja","@id":"https:\/\/www.silicloud.com\/ja\/blog\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/65e0ff40534461b1fa000382dc194e1716f793ab0bcb218ac3c40895551a08c5?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/65e0ff40534461b1fa000382dc194e1716f793ab0bcb218ac3c40895551a08c5?s=96&d=mm&r=g","caption":"\u590f\u6a39, \u98a8"},"url":"https:\/\/www.silicloud.com\/ja\/blog\/author\/natsukikaze\/"},{"@type":"ImageObject","inLanguage":"ja","@id":"https:\/\/www.silicloud.com\/ja\/blog\/python%e3%81%a7%e6%96%87%e5%ad%97%e3%81%ae%e6%9c%80%e5%88%9d%e3%81%ae%e5%87%ba%e7%8f%be%e4%bd%8d%e7%bd%ae%e3%82%92%e8%a6%8b%e3%81%a4%e3%81%91%e3%82%8b%e6%96%b9%e6%b3%95\/#local-main-organization-logo","url":"","contentUrl":"","caption":"Blog - Silicon Cloud"}]}},"_links":{"self":[{"href":"https:\/\/www.silicloud.com\/ja\/blog\/wp-json\/wp\/v2\/posts\/112786","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.silicloud.com\/ja\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.silicloud.com\/ja\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.silicloud.com\/ja\/blog\/wp-json\/wp\/v2\/users\/9"}],"replies":[{"embeddable":true,"href":"https:\/\/www.silicloud.com\/ja\/blog\/wp-json\/wp\/v2\/comments?post=112786"}],"version-history":[{"count":2,"href":"https:\/\/www.silicloud.com\/ja\/blog\/wp-json\/wp\/v2\/posts\/112786\/revisions"}],"predecessor-version":[{"id":323403,"href":"https:\/\/www.silicloud.com\/ja\/blog\/wp-json\/wp\/v2\/posts\/112786\/revisions\/323403"}],"wp:attachment":[{"href":"https:\/\/www.silicloud.com\/ja\/blog\/wp-json\/wp\/v2\/media?parent=112786"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.silicloud.com\/ja\/blog\/wp-json\/wp\/v2\/categories?post=112786"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.silicloud.com\/ja\/blog\/wp-json\/wp\/v2\/tags?post=112786"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}