{"published":"2020-03-25 18:32:53","author_url":"https://blog.hatena.ne.jp/tako_eng/","type":"rich","provider_name":"Hatena Blog","width":"100%","url":"https://tako-eng.hatenablog.com/entry/2020/03/25/183253","description":"\u5909\u6570\u306b\u683c\u7d0d\u3057\u305f\u6587\u5b57\u5217\u3067\u3001\u7279\u5b9a\u306e\u8a18\u53f7(')\u304b\u3089\u6b21\u306e\u7279\u5b9a\u306e\u8a18\u53f7(')\u306e\u4e2d\u8eab\u3060\u3051\u62bd\u51fa\u3057\u305f\u3044\uff01 \u3068\u304d\u3002 \u3060\u3081\u306a\u4f8b // \u5bfe\u8c61\u306e\u6587\u5b57\u5217 String targetStr = \"testip='192.168.1.101'wheretestname='testname'\" // '192.168.1.101'\u3060\u3051\u53d6\u5f97\u3057\u305f\u3044(\u8a18\u53f7\u542b\u307e\u305a) ipAddr = targetStr.substring(targetStr.indexOf(\"'\") + 1, targetStr.lastIndexOf(\"'\")).trim(); System.out.println(ipAddr); // console // \u7406\u2026","author_name":"tako_eng","provider_url":"https://hatena.blog","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Ftako-eng.hatenablog.com%2Fentry%2F2020%2F03%2F25%2F183253\" title=\"\u6587\u5b57\u5217\u304b\u3089\u7279\u5b9a\u306e\u8a18\u53f7\u306e\u4e2d\u8eab\u3060\u3051\u53d6\u308a\u51fa\u3059 - blog\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","title":"\u6587\u5b57\u5217\u304b\u3089\u7279\u5b9a\u306e\u8a18\u53f7\u306e\u4e2d\u8eab\u3060\u3051\u53d6\u308a\u51fa\u3059","categories":["\u30d7\u30ed\u30b0\u30e9\u30df\u30f3\u30b0(Java)"],"image_url":null,"height":"190","blog_title":"blog","version":"1.0","blog_url":"https://tako-eng.hatenablog.com/"}