{"html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Ftmg0525.hatenadiary.jp%2Fentry%2F2017%2F11%2F24%2F113527\" title=\"String.IndexOf() \u6587\u5b57\u5217\u5185\u306b\u6307\u5b9a\u3055\u308c\u305f\u6587\u5b57\u5217\u304c\u3042\u308b\u304b\u8abf\u3079\u3001\u305d\u306e\u4f4d\u7f6e\u3092\u77e5\u308b - VB.NET - TIL\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","provider_url":"https://hatena.blog","description":"\u6587\u5b57\u5217\u5185\u306b\u6307\u5b9a\u306e\u6587\u5b57\u5217\u304c\u3042\u308b\u304b\u3069\u3046\u304b\u306fString\u306eIndexOf()\u30e1\u30bd\u30c3\u30c9\u3092\u4f7f\u3046\u3002 \u6307\u5b9a\u306e\u6587\u5b57\u5217\u304c\u3042\u308c\u3070\u3001\u305d\u306e\u30a4\u30f3\u30c7\u30c3\u30af\u30b9\u756a\u53f7\u3002\u306a\u3051\u308c\u3070\u3001-1\u304c\u8fd4\u3055\u308c\u308b Dim s = \"hello\" Console.WriteLine(s.IndexOf(\"h\")) Console.WriteLine(s.IndexOf(\"a\")) \u5b9f\u884c\u7d50\u679c 0 -1 \u53c2\u8003\u6587\u732e \u6587\u5b57\u5217\u5185\u306b\u6307\u5b9a\u3055\u308c\u305f\u6587\u5b57\u5217\u304c\u3042\u308b\u304b\u8abf\u3079\u3001\u305d\u306e\u4f4d\u7f6e\u3092\u77e5\u308b: .NET Tips: C#, VB.NET","blog_title":"TIL","height":"190","type":"rich","blog_url":"https://tmg0525.hatenadiary.jp/","author_name":"tmg1998","url":"https://tmg0525.hatenadiary.jp/entry/2017/11/24/113527","version":"1.0","image_url":null,"provider_name":"Hatena Blog","published":"2017-11-24 11:35:27","title":"String.IndexOf() \u6587\u5b57\u5217\u5185\u306b\u6307\u5b9a\u3055\u308c\u305f\u6587\u5b57\u5217\u304c\u3042\u308b\u304b\u8abf\u3079\u3001\u305d\u306e\u4f4d\u7f6e\u3092\u77e5\u308b - VB.NET","width":"100%","author_url":"https://blog.hatena.ne.jp/tmg1998/","categories":["VB.NET"]}