{"id":6428,"date":"2017-10-30T08:11:50","date_gmt":"2017-10-29T23:11:50","guid":{"rendered":"http:\/\/excelwork.info\/excel\/?p=6428"},"modified":"2017-10-30T08:11:50","modified_gmt":"2017-10-29T23:11:50","slug":"joinfunction","status":"publish","type":"post","link":"https:\/\/excelwork.info\/excel\/joinfunction\/","title":{"rendered":"Join \u95a2\u6570\uff08\u914d\u5217\u306e\u8981\u7d20\u3092\u7d50\u5408\uff09"},"content":{"rendered":"<h2>Join \u95a2\u6570<\/h2>\n<div class=\"m30-l\">\n<p>1\u6b21\u5143\u914d\u5217\u306e\u5404\u8981\u7d20\u3092\u6307\u5b9a\u3057\u305f\u533a\u5207\u308a\u6587\u5b57\u3067\u9023\u7d50\u3057\u307e\u3059\u3002<\/p>\n<br \/>\n<div class=\"kkbox\"><strong>\u3010\u66f8\u5f0f\u3011<\/strong><\/p>\n<p>    <em>myString<\/em> = <strong>Join<\/strong> ( <strong>SourceArray<\/strong> [, <em>Delimiter<\/em> ] )<\/p><\/div>\n<br \/>\n<h4>\u5f15\u6570\u30fb\u623b\u308a\u5024<\/h4>\n<div class=\"m30-l\">\n<ul style=\"margin-top:0;margin-bottom:0;padding-top:0;padding-bottom:0;\">\n<li>object&nbsp;&nbsp;\u30fb\u30fb\u30fb&nbsp;&nbsp;\u5bfe\u8c61\u3068\u306a\u308b <span class=\"red\"><strong>Application \u30aa\u30d6\u30b8\u30a7\u30af\u30c8<\/strong><\/span>\u3092\u6307\u5b9a\u3057\u307e\u3059\u3002<\/li>\n<li>SourceArray&nbsp;&nbsp;\u30fb\u30fb\u30fb&nbsp;&nbsp;\u7d50\u5408\u3057\u305f\u3044\u6587\u5b57\u5217\u3092\u542b\u30801\u6b21\u5143\u914d\u5217\u3092\u6307\u5b9a\u3057\u307e\u3059\u3002<\/li>\n<li>Delimiter&nbsp;&nbsp;\u30fb\u30fb\u30fb&nbsp;&nbsp;\u4e0a\u8a18\u914d\u5217\u306e\u5024\uff08\u6587\u5b57\u5217\uff09\u3092\u7d50\u5408\u3059\u308b\u90e8\u5206\u306b\u4f7f\u7528\u3059\u308b\u6587\u5b57\u5217\u3092\u6307\u5b9a\u3057\u307e\u3059\u3002\u7701\u7565\u3057\u305f\u5834\u5408\u306f\u3001&#8221;&#8221;\uff08\u7a7a\u767d\u6587\u5b57\uff09\u304c\u4f7f\u7528\u3055\u308c\u307e\u3059\u3002<\/li>\n<li>myString&nbsp;&nbsp;\u30fb\u30fb\u30fb&nbsp;&nbsp;\u5f15\u6570 <em>SourceArray<\/em> \u306b\u6307\u5b9a\u3057\u305f\u914d\u5217\u306e\u5404\u5024\uff08\u6587\u5b57\u5217\uff09\u3092\u5f15\u6570 <em>Delimiter<\/em> \u3067\u6307\u5b9a\u3057\u305f\u6587\u5b57\u5217\u3067\u9023\u7d50\u3057\u307e\u3059\u3002<\/li>\n<\/ul>\n<br \/>\n<p class=\"caution4\">\u6587\u5b57\u5217\u3092\u6307\u5b9a\u3057\u305f\u533a\u5207\u308a\u6587\u5b57\u3067\u5206\u5272\u3057\u30011\u6b21\u5143\u914d\u5217\u3092\u4f5c\u6210\u3059\u308b\u306b\u306f\u3001<a href=\"https:\/\/excelwork.info\/excel\/splitfunction\/\">Split \u95a2\u6570<\/a> \u3092\u4f7f\u7528\u3057\u307e\u3059\u3002<\/p>\n<p class=\"caution4\">\u5f15\u6570 <em>SourceArray<\/em> \u306b\u3001\u6587\u5b57\u5217\u578b\uff08String\uff09\u306e\u914d\u5217\u3001\u30d0\u30ea\u30a2\u30f3\u30c8\u578b\uff08Variant\uff09\u306e\u914d\u5217\u4ee5\u5916\u306e\u914d\u5217\u3092\u6307\u5b9a\u3059\u308b\u3068\u30a8\u30e9\u30fc\u304c\u767a\u751f\u3057\u307e\u3059\u3002<\/p>\n<\/p><\/div>\n<\/div>\n<br \/><br \/>\n<h2>Split \u95a2\u6570 \u4f7f\u7528\u4f8b<\/h2>\n<div class=\"m30-l\">\n<h3 id=\"vba_sample\">\u30b5\u30f3\u30d7\u30ebVBA\u30bd\u30fc\u30b9<\/h3>\n<pre class=\"lang:vb mark:0 decode:true \" title=\"Split \u95a2\u6570\" data-url=\"http:\/\/example.co.jp\" >\r\n\u3000\r\nSub Sample_join()\r\n\r\n    Dim myArr(3) As String\r\n    Dim myString As String\r\n    \r\n    myArr(0) = \"\u3042\u3044\u3046\u3048\u304a\"\r\n    myArr(1) = \"12345\"\r\n    myArr(2) = \"ABCDE\"\r\n    myArr(3) = \"\u30a2\u30a4\u30a6\u30a8\u30aa\"\r\n    \r\n    myString = Join(myArr, vbCrLf)\r\n    \r\n    MsgBox myString\r\n\r\nEnd Sub\r\n\u3000\r\n  <\/pre>\n<br \/>\n<h3>\u5b9f\u884c\u7d50\u679c<\/h3>\n<p><a href=\"https:\/\/i2.wp.com\/excelwork.info\/excel\/wp\/wp-content\/uploads\/2017\/09\/excelvba_joinfunction.jpg?ssl=1\" rel=\"lightbox[6428]\"><img loading=\"lazy\" src=\"https:\/\/i2.wp.com\/excelwork.info\/excel\/wp\/wp-content\/uploads\/2017\/09\/excelvba_joinfunction.jpg?resize=140%2C193&#038;ssl=1\" alt=\"Join \u95a2\u6570\" width=\"140\" height=\"193\" class=\"alignnone size-full wp-image-6429\" data-recalc-dims=\"1\" \/><\/a><\/p>\n<\/div>\n<br \/><br \/>\n","protected":false},"excerpt":{"rendered":"<p>Join \u95a2\u6570 1\u6b21\u5143\u914d\u5217\u306e\u5404\u8981\u7d20\u3092\u6307\u5b9a\u3057\u305f\u533a\u5207\u308a\u6587\u5b57\u3067\u9023\u7d50\u3057\u307e\u3059\u3002 \u3010\u66f8\u5f0f\u3011  &#8230; <\/p>\n","protected":false},"author":1,"featured_media":6429,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"amp_status":"","spay_email":"","jetpack_publicize_message":""},"categories":[37],"tags":[954,1032,64,77,63,955],"jetpack_featured_media_url":"https:\/\/i2.wp.com\/excelwork.info\/excel\/wp\/wp-content\/uploads\/2017\/09\/excelvba_joinfunction.jpg?fit=140%2C193&ssl=1","jetpack_publicize_connections":[],"jetpack_sharing_enabled":true,"jetpack_shortlink":"https:\/\/wp.me\/p4Ye9i-1FG","_links":{"self":[{"href":"https:\/\/excelwork.info\/excel\/wp-json\/wp\/v2\/posts\/6428"}],"collection":[{"href":"https:\/\/excelwork.info\/excel\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/excelwork.info\/excel\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/excelwork.info\/excel\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/excelwork.info\/excel\/wp-json\/wp\/v2\/comments?post=6428"}],"version-history":[{"count":3,"href":"https:\/\/excelwork.info\/excel\/wp-json\/wp\/v2\/posts\/6428\/revisions"}],"predecessor-version":[{"id":6497,"href":"https:\/\/excelwork.info\/excel\/wp-json\/wp\/v2\/posts\/6428\/revisions\/6497"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/excelwork.info\/excel\/wp-json\/wp\/v2\/media\/6429"}],"wp:attachment":[{"href":"https:\/\/excelwork.info\/excel\/wp-json\/wp\/v2\/media?parent=6428"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/excelwork.info\/excel\/wp-json\/wp\/v2\/categories?post=6428"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/excelwork.info\/excel\/wp-json\/wp\/v2\/tags?post=6428"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}