{"blog_url":"https://2dgames.jp/","provider_name":"Hatena Blog","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2F2dgames.jp%2Fentry%2Fgodot-how-to-use-string%2F\" title=\"\u3010Godot\u3011\u6587\u5b57\u5217\u64cd\u4f5c\u306e\u4fbf\u5229\u95a2\u6570\u307e\u3068\u3081 - 2dgames.jp\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","type":"rich","blog_title":"2dgames.jp","published":"2023-01-18 05:00:00","image_url":"https://cdn-ak.f.st-hatena.com/images/fotolife/s/syun77/20250905/20250905085801.png","height":"190","version":"1.0","provider_url":"https://hatena.blog","description":"\u4eca\u56de\u306f\u6587\u5b57\u5217 (String) \u306b\u95a2\u3059\u308b\u4fbf\u5229\u305d\u3046\u306a\u95a2\u6570\u3092\u307e\u3068\u3081\u3066\u307f\u307e\u3057\u305f\u3002 String\u306e\u95a2\u6570 \u57fa\u672c\u60c5\u5831 length(): \u6587\u5b57\u5217\u306e\u9577\u3055\u3092\u6c42\u3081\u308b print(\"abc\".length()) # 3\u6587\u5b57 empty(): \u7a7a\u6587\u5b57\u304b\u3069\u3046\u304b if(\"\".empty()): print(\"\u7a7a\u6587\u5b57\u30c1\u30a7\u30c3\u30af\") count(): \u6307\u5b9a\u306e\u6587\u5b57\u306e\u51fa\u73fe\u56de\u6570\u3092\u6570\u3048\u308b print(\"akasatana\".count(\"a\")) # -> 5 \u691c\u7d22 begins_with(): \u6587\u5b57\u306e\u59cb\u307e\u308a\u304c\u6307\u5b9a\u306e\u6587\u5b57\u304b\u3069\u3046\u304b if \"abc\".begins_with(\"ab\"): print(\"ab\u3067\u59cb\u307e\u308b\u6587\u5b57\") find()\u2026","width":"100%","author_url":"https://blog.hatena.ne.jp/syun77/","url":"https://2dgames.jp/entry/godot-how-to-use-string/","author_name":"syun77","categories":["Godot"],"title":"\u3010Godot\u3011\u6587\u5b57\u5217\u64cd\u4f5c\u306e\u4fbf\u5229\u95a2\u6570\u307e\u3068\u3081"}