{"id":920,"date":"2020-08-12T22:44:54","date_gmt":"2020-08-12T13:44:54","guid":{"rendered":"https:\/\/auto-worker.com\/blog\/?p=920"},"modified":"2020-10-06T00:10:21","modified_gmt":"2020-10-05T15:10:21","slug":"post-920","status":"publish","type":"post","link":"https:\/\/auto-worker.com\/blog\/?p=920","title":{"rendered":"Google Apps Script\u3067String\u578b\u6587\u5b57\u5217\u3092\u6570\u5024\u306b\u5909\u63db\u3059\u308b\u65b9\u6cd5(\u6570\u5024\u2192\u6587\u5b57\u5217\u3082)"},"content":{"rendered":"<p>Google Apps Script(GAS)\u3067String\u578b\u306e\u6587\u5b57\u5217\u5909\u6570\u3092\u6570\u5024\u578b\u306e\u5909\u6570\u306b\u5909\u63db\u3059\u308b\u65b9\u6cd5\u3092\u7d39\u4ecb\u3057\u307e\u3059\u3002<\/p>\n<p>\u6587\u5b57\u5217\u2192\u6570\u5024\u306b\u5909\u63db\u3059\u308b\u3053\u3068\u306b\u52a0\u3048\u3001\u6570\u5024\u2192\u6587\u5b57\u5217\u306e\u5909\u63db\u306b\u3064\u3044\u3066\u3082\u89e3\u8aac\u3057\u3066\u3044\u304d\u307e\u3059\u3002<\/p>\n<h2>GAS\u306e\u6587\u5b57\u5217\u2192\u6570\u5024\u306e\u5909\u63db\u306fNumber\u53c8\u306fparseInt<\/h2>\n<p>Google Apps Script(GAS)\u3067\u3001\u6587\u5b57\u5217\u3092\u683c\u7d0d\u3059\u308bString\u5909\u6570\u3092\u6570\u5024\u578b\u306e\u5909\u6570\u306b\u5909\u63db\u3059\u308b\u306b\u306f2\u7a2e\u985e\u306e\u65b9\u6cd5\u304c\u7528\u610f\u3055\u308c\u3066\u3044\u307e\u3059\u3002<\/p>\n<ol>\n<li><strong><em>Number(String)<\/em><\/strong><\/li>\n<li><strong><em>parseInt(String)<\/em><\/strong><\/li>\n<\/ol>\n<p>Number,parseInt\u306e\u5f15\u6570\u306bString\u578b\u306e\u5909\u6570\u3092\u6307\u5b9a\u3059\u308b\u3068\u3001\u6570\u5024\u5074\u306e\u5909\u6570\u306b\u5909\u63db\u3055\u308c\u307e\u3059\u3002<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-1443\" src=\"https:\/\/auto-worker.com\/blog\/wp-content\/uploads\/2020\/08\/20200812_auto_002.jpg\" alt=\"Google Apps Script(GAS)\u3067Number\u3068parseInt\u3067\u6587\u5b57\u5217\u304b\u3089\u6570\u5024\u306b\u5909\u63db\" width=\"800\" height=\"441\" srcset=\"https:\/\/auto-worker.com\/blog\/wp-content\/uploads\/2020\/08\/20200812_auto_002.jpg 800w, https:\/\/auto-worker.com\/blog\/wp-content\/uploads\/2020\/08\/20200812_auto_002-300x165.jpg 300w, https:\/\/auto-worker.com\/blog\/wp-content\/uploads\/2020\/08\/20200812_auto_002-768x423.jpg 768w, https:\/\/auto-worker.com\/blog\/wp-content\/uploads\/2020\/08\/20200812_auto_002-530x292.jpg 530w, https:\/\/auto-worker.com\/blog\/wp-content\/uploads\/2020\/08\/20200812_auto_002-565x311.jpg 565w, https:\/\/auto-worker.com\/blog\/wp-content\/uploads\/2020\/08\/20200812_auto_002-710x391.jpg 710w, https:\/\/auto-worker.com\/blog\/wp-content\/uploads\/2020\/08\/20200812_auto_002-725x400.jpg 725w\" sizes=\"auto, (max-width: 800px) 100vw, 800px\" \/><\/p>\n<p><code>function stringToNumber() {<br \/>\n\/\/\u6570\u5b57\u3092\u30c0\u30d6\u30eb\u30af\u30aa\u30fc\u30c6\u30fc\u30b7\u30e7\u30f3\u3067\u6587\u5b57\u5217\u3068\u3057\u3066\u5b9a\u7fa9\u3059\u308b<br \/>\nlet str = \"123456\";<br \/>\n\/\/\u305d\u306e\u307e\u307e\u6587\u5b57\u5217\u3068\u3057\u3066\u30ed\u30b0\u8868\u793a<br \/>\nLogger.log(str);<br \/>\n\/\/Number\u3001parseInt\u3067\u6587\u5b57\u5217\u3092\u6570\u5024\u306b\u5909\u63db<br \/>\nLogger.log(Number(str));<br \/>\nLogger.log(parseInt(str));<br \/>\n}<\/code><\/p>\n<p>\u305d\u308c\u305e\u308c\u6570\u5024\u578b\u306b\u5909\u63db\u3057\u3066\u3001\u30ed\u30b0\u51fa\u529b\u3055\u308c\u307e\u3059\u3002<\/p>\n<p>\u6570\u5024\u578b\u306b\u5909\u63db\u3059\u308b\u3053\u3068\u3067\u3001+,-,*,\/\u306e\u56db\u5247\u6f14\u7b97\u304c\u53ef\u80fd\u306b\u306a\u308a\u307e\u3059\u3002<\/p>\n<h2>parseInt\u3068Number\u306e\u9055\u3044\u306f\uff1f<\/h2>\n<p>GAS\u3067\u6587\u5b57\u5217\u2192\u6570\u5024\u306b\u5909\u63db\u3059\u308b\u65b9\u6cd5\u3068\u3057\u3066\u3001parseInt\u3068Number\u306e2\u3064\u304c\u3042\u308b\u3068\u7d39\u4ecb\u3057\u307e\u3057\u305f\u304c\u3001\u3053\u306e2\u3064\u306b\u306f\u3069\u3046\u3044\u3063\u305f\u9055\u3044\u304c\u3042\u308b\u306e\u3067\u3057\u3087\u3046\u304b\u3002<\/p>\n<p>Number\u306f\u6587\u5b57\u5217\u304c\u6570\u5024\u306b\u5408\u81f4\u3059\u308b\u3082\u306e\u306e\u5834\u5408\u306b\u306f\u3001\u6570\u5024\u306b\u5909\u63db\u3092\u884c\u3044\u307e\u3059\u3002<\/p>\n<p>\u3057\u304b\u3057\u3001\u6570\u5b57\u4ee5\u5916\u306e\u6587\u5b57\u304c\u542b\u307e\u308c\u3066\u3044\u305f\u5834\u5408\u3001\u300c\u6570\u5b57\u3067\u306f\u306a\u3044\uff1dNot a Number(NaN)\u300d\u3068\u3057\u3066\u3001NaN\u3068\u3044\u3046\u5024\u306b\u306a\u308a\u307e\u3059\u3002<\/p>\n<p>\u4e00\u65b9\u3001parseInt\u306e\u5834\u5408\u306f\u3001\u6587\u5b57\u5217\u306e\u4e2d\u306b\u6570\u5b57\u4ee5\u5916\u304c\u542b\u307e\u308c\u3066\u3044\u3066\u3082\u3001\u305d\u3053\u307e\u3067\u306e\u6570\u5b57\u90e8\u5206\u306e\u307f\u3092\u6570\u5024\u578b\u5909\u6570\u306b\u5909\u63db\u3057\u307e\u3059\u3002<\/p>\n<p>\u4f8b\u3048\u3070\u3001\u300c&#8221;123ABC&#8221;\u300d\u3068\u3044\u3046\u6587\u5b57\u5217\u3092Number\u3068parseInt\u3067\u305d\u308c\u305e\u308c\u5909\u63db\u3059\u308b\u3068\u3001\u4ee5\u4e0b\u306e\u3088\u3046\u306b\u306a\u308a\u307e\u3059\u3002<\/p>\n<ol>\n<li>Number(&#8220;123ABC&#8221;)\uff1aNaN<\/li>\n<li>parseInt(&#8220;123ABC&#8221;)\uff1a123.0<\/li>\n<\/ol>\n<p>parseInt\u306e\u307b\u3046\u304c\u90e8\u5206\u7684\u306b\u3067\u3082\u6570\u5024\u5909\u63db\u3067\u304d\u308b\u3068\u3044\u3046\u30e1\u30ea\u30c3\u30c8\u304c\u3042\u308a\u307e\u3059\u304c\u3001\u8aa4\u3063\u305f\u6570\u5024\u306b\u5909\u63db\u3055\u308c\u308b\u3068\u3044\u3046\u30c7\u30e1\u30ea\u30c3\u30c8\u3082\u3042\u308a\u307e\u3059\u3002<\/p>\n<p>\u307e\u305f\u3001\u300c&#8221;ABC123&#8243;\u300d\u3068\u3044\u3063\u305f\u6587\u5b57\u5217\u306e\u5834\u5408\u306f\u3001parseInt\u3067\u3082\u5909\u63db\u3067\u304d\u305a\u3001NaN\u306e\u5024\u306b\u306a\u308a\u307e\u3059\u3002<\/p>\n<h2>GAS\u306e\u6570\u5024\u2192\u6587\u5b57\u5217\u306e\u5909\u63db\u306ftoString()<\/h2>\n<p>\u9006\u306b\u6570\u5024\u578b\u306e\u5909\u6570\u3092\u6587\u5b57\u5217\u306eString\u5909\u6570\u306b\u5909\u63db\u3059\u308b\u65b9\u6cd5\u306f\u3001Google Apps Script(GAS)\u3067\u306f\u300ctoString()\u300d\u30e1\u30bd\u30c3\u30c9\u3092\u4f7f\u3044\u307e\u3059\u3002<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-1444\" src=\"https:\/\/auto-worker.com\/blog\/wp-content\/uploads\/2020\/08\/20200812_auto_003.jpg\" alt=\"Google Apps Script(GAS)\u3067\u6570\u5024\u578b\u5909\u6570\u3092\u6587\u5b57\u5217(String)\u306b\u5909\u63db\u3059\u308b\u30b5\u30f3\u30d7\u30eb\u30b3\u30fc\u30c9\" width=\"800\" height=\"424\" srcset=\"https:\/\/auto-worker.com\/blog\/wp-content\/uploads\/2020\/08\/20200812_auto_003.jpg 800w, https:\/\/auto-worker.com\/blog\/wp-content\/uploads\/2020\/08\/20200812_auto_003-300x159.jpg 300w, https:\/\/auto-worker.com\/blog\/wp-content\/uploads\/2020\/08\/20200812_auto_003-768x407.jpg 768w, https:\/\/auto-worker.com\/blog\/wp-content\/uploads\/2020\/08\/20200812_auto_003-530x281.jpg 530w, https:\/\/auto-worker.com\/blog\/wp-content\/uploads\/2020\/08\/20200812_auto_003-565x299.jpg 565w, https:\/\/auto-worker.com\/blog\/wp-content\/uploads\/2020\/08\/20200812_auto_003-710x376.jpg 710w, https:\/\/auto-worker.com\/blog\/wp-content\/uploads\/2020\/08\/20200812_auto_003-725x384.jpg 725w\" sizes=\"auto, (max-width: 800px) 100vw, 800px\" \/><\/p>\n<p><code>function numberToString() {<br \/>\n\/\/\u6570\u5024\u578b\u306e\u5909\u6570\u3092\u5b9a\u7fa9\u3059\u308b<br \/>\nlet num = 123456;<br \/>\n\/\/\u305d\u306e\u307e\u307e\u6570\u5024\u3068\u3057\u3066\u30ed\u30b0\u8868\u793a<br \/>\nLogger.log(num);<br \/>\n\/\/toString\u30e1\u30bd\u30c3\u30c9\u3067\u6570\u5024\u3092\u6587\u5b57\u5217\u306b\u5909\u63db<br \/>\nLogger.log(num.toString());<br \/>\n}<\/code><\/p>\n<p>\u6587\u5b57\u5217\u306b\u5909\u63db\u3059\u308b\u3053\u3068\u3067\u3001\u6587\u5b57\u5217\u3068\u3057\u3066\u306e\u9023\u7d50\u304c\u53ef\u80fd\u306a\u308a\u307e\u3059\u3002<\/p>\n<h2>\u30ab\u30f3\u30de(,)\u5165\u308a\u6570\u5b57\u306e\u6587\u5b57\u5217\u3092\u6570\u5024\u5909\u63db\u3059\u308b\u65b9\u6cd5\u306f\uff1f<\/h2>\n<p>\u306a\u304a\u3001Google Apps Script(GAS)\u3067\u300c123,456\u300d\u306e\u3088\u3046\u306a\u30ab\u30f3\u30de\u304c\u5165\u3063\u305f\u6570\u5b57\u306e\u6587\u5b57\u5217\u3092\u3001\u6570\u5024\u578b\u306e\u5909\u6570\u306b\u5909\u63db\u3059\u308b\u306b\u306f\u4e00\u5de5\u592b\u304c\u5fc5\u8981\u306b\u306a\u308a\u307e\u3059\u3002<\/p>\n<p>Number\u30e1\u30bd\u30c3\u30c9\u3067\u5909\u63db\u3057\u3088\u3046\u3068\u3059\u308b\u3068\u3001\u30ab\u30f3\u30de\u304c\u542b\u307e\u308c\u3066\u3044\u308b\u3053\u3068\u3067\u300c\u6570\u5024\u3067\u306f\u306a\u3044\u300d\u3068\u5224\u5b9a\u3057\u3001\u300cNaN\u300d\u3068\u306a\u3063\u3066\u5909\u63db\u3067\u304d\u307e\u305b\u3093\u3002<\/p>\n<p>parseInt\u30e1\u30bd\u30c3\u30c9\u306e\u5834\u5408\u3001\u30ab\u30f3\u30de(,)\u524d\u307e\u3067\u306e\u6570\u5b57\u306f\u5909\u63db\u3067\u304d\u307e\u3059\u304c\u3001\u30ab\u30f3\u30de\u4ee5\u964d\u304c\u7121\u8996\u3055\u308c\u308b\u306e\u3067\u3001\u300c123\u300d\u3068\u3044\u3046\u5909\u63db\u7d50\u679c\u3068\u306a\u308a\u307e\u3059\u3002<\/p>\n<p>\u3053\u3046\u3057\u305f\u30ab\u30f3\u30de\u533a\u5207\u308a\u3092\u9632\u3050\u305f\u3081\u306b\u306f\u3001Stirng\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u3067\u7f6e\u63db\u3092\u884c\u3046<strong>replace\u30e1\u30bd\u30c3\u30c9<\/strong>\u3092\u5229\u7528\u3057\u307e\u3059\u3002<\/p>\n<p>\u203bGAS\u306ereplace\u30e1\u30bd\u30c3\u30c9\u306e\u89e3\u8aac\u8a18\u4e8b\u306f\u3053\u3061\u3089\u2193<\/p>\n<blockquote class=\"wp-embedded-content\" data-secret=\"voyDYZyADa\"><p><a href=\"https:\/\/auto-worker.com\/blog\/?p=812\">Google Apps Script(GAS)\u3067\u6587\u5b57\u5217\u306e\u7f6e\u63db(\u7f6e\u304d\u63db\u3048)\u30fb\u524a\u9664\u3059\u308b\u65b9\u6cd5(replace\u30e1\u30bd\u30c3\u30c9)<\/a><\/p><\/blockquote>\n<p><iframe loading=\"lazy\" class=\"wp-embedded-content\" sandbox=\"allow-scripts\" security=\"restricted\" style=\"position: absolute; clip: rect(1px, 1px, 1px, 1px);\" title=\"&#8220;Google Apps Script(GAS)\u3067\u6587\u5b57\u5217\u306e\u7f6e\u63db(\u7f6e\u304d\u63db\u3048)\u30fb\u524a\u9664\u3059\u308b\u65b9\u6cd5(replace\u30e1\u30bd\u30c3\u30c9)&#8221; &#8212; AutoWorker\u301cGoogle Apps Script(GAS)\u3068Sikuli\u3067\u59cb\u3081\u308b\u696d\u52d9\u6539\u5584\u5165\u9580\" src=\"https:\/\/auto-worker.com\/blog\/?p=812&#038;embed=true#?secret=8Ft8qeDmaf#?secret=voyDYZyADa\" data-secret=\"voyDYZyADa\" width=\"500\" height=\"282\" frameborder=\"0\" marginwidth=\"0\" marginheight=\"0\" scrolling=\"no\"><\/iframe><\/p>\n<p>replace\u30e1\u30bd\u30c3\u30c9\u3067\u300c,\u300d\u3092\u524a\u9664\u3059\u308b\u3053\u3068\u3067\u3001\u6587\u5b57\u5217\u304b\u3089\u6570\u5024\u306e\u5909\u63db\u304c\u3067\u304d\u308b\u3088\u3046\u306b\u306a\u308a\u307e\u3059\u3002<\/p>\n<p><em><strong>String.replace(&#8220;,&#8221;,&#8221;&#8221;)<\/strong><\/em><\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-1441\" src=\"https:\/\/auto-worker.com\/blog\/wp-content\/uploads\/2020\/08\/20200812_auto_001.jpg\" alt=\"\u30ab\u30f3\u30de\u5165\u308a\u306e\u6570\u5b57\u306e\u6587\u5b57\u5217\u3092\u6570\u5024\u306b\u5909\u63db\u3059\u308b\u5834\u5408\u306f\u3001replace\u30e1\u30bd\u30c3\u30c9\u3067\u30ab\u30f3\u30de\u3092\u53d6\u308a\u9664\u304f\u51e6\u7406\u304c\u5fc5\u8981\" width=\"800\" height=\"488\" srcset=\"https:\/\/auto-worker.com\/blog\/wp-content\/uploads\/2020\/08\/20200812_auto_001.jpg 800w, https:\/\/auto-worker.com\/blog\/wp-content\/uploads\/2020\/08\/20200812_auto_001-300x183.jpg 300w, https:\/\/auto-worker.com\/blog\/wp-content\/uploads\/2020\/08\/20200812_auto_001-768x468.jpg 768w, https:\/\/auto-worker.com\/blog\/wp-content\/uploads\/2020\/08\/20200812_auto_001-530x323.jpg 530w, https:\/\/auto-worker.com\/blog\/wp-content\/uploads\/2020\/08\/20200812_auto_001-565x345.jpg 565w, https:\/\/auto-worker.com\/blog\/wp-content\/uploads\/2020\/08\/20200812_auto_001-710x433.jpg 710w, https:\/\/auto-worker.com\/blog\/wp-content\/uploads\/2020\/08\/20200812_auto_001-725x442.jpg 725w\" sizes=\"auto, (max-width: 800px) 100vw, 800px\" \/><\/p>\n<p><code>function commaStringToNumber() {<br \/>\n\/\/\u30ab\u30f3\u30de\u304c\u5165\u3063\u305f\u6570\u5b57\u3092\u6587\u5b57\u5217\u3068\u3057\u3066\u5b9a\u7fa9\u3059\u308b<br \/>\nlet str = \"123,456\";<br \/>\n\/\/\u305d\u306e\u307e\u307e\u6587\u5b57\u5217\u3068\u3057\u3066\u30ed\u30b0\u8868\u793a<br \/>\nLogger.log(str);<br \/>\n\/\/replace\u30e1\u30bd\u30c3\u30c9\u3067\u30ab\u30f3\u30de\u3092\u53d6\u308a\u9664\u3044\u305f\u3042\u3068\u3001\u6570\u5024\u578b\u306b\u5909\u63db<br \/>\nLogger.log(Number(str.replace(\",\",\"\")));<br \/>\nLogger.log(parseInt(str.replace(\",\",\"\")));<br \/>\n}<\/code><\/p>\n<p>replace\u30e1\u30bd\u30c3\u30c9\u3067\u306f\u7f6e\u63db\u3059\u308b\u6587\u5b57\u304c\u306a\u3044\u5834\u5408\u306f\u51e6\u7406\u3092\u884c\u308f\u305a\u3001\u30a8\u30e9\u30fc\u306b\u306f\u306a\u3089\u306a\u3044\u306e\u3067\u3001\u30ab\u30f3\u30de\u5165\u308a\u6570\u5b57\u304c\u5165\u308b\u30b1\u30fc\u30b9\u306b\u5099\u3048\u3001\u8a2d\u5b9a\u3057\u3066\u304a\u304f\u306e\u304c\u30aa\u30b9\u30b9\u30e1\u3067\u3059\u3002<\/p>\n<h2>\u307e\u3068\u3081\u30fb\u7d42\u308f\u308a\u306b<\/h2>\n<p>\u4eca\u56de\u3001Google Apps Script(GAS)\u3067\u6587\u5b57\u5217\u3092\u6570\u5024\u306b\u5909\u63db\u3001\u6570\u5024\u3092\u6587\u5b57\u5217\u306b\u5909\u63db\u3059\u308b\u65b9\u6cd5\u3092\u89e3\u8aac\u3057\u307e\u3057\u305f\u3002<\/p>\n<p>\u6587\u5b57\u5217\u2192\u6570\u5024\u306fNumber\u3084parseInt\u3092\u4f7f\u3063\u3066\u5909\u63db\u3057\u3001\u6570\u5024\u2192\u6587\u5b57\u5217\u306ftoString()\u30e1\u30bd\u30c3\u30c9\u3092\u4f7f\u3063\u3066\u5909\u63db\u3057\u307e\u3059\u3002<\/p>\n<p>\u30ab\u30f3\u30de\u304c\u5165\u3063\u3066\u3044\u308b\u6570\u5b57\u3092\u5909\u63db\u3059\u308b\u5834\u5408\u306b\u306f\u3001\u6587\u5b57\u5217\u304b\u3089\u30ab\u30f3\u30de\u3092\u53d6\u308a\u9664\u304f\u3053\u3068\u3067\u6570\u5024\u306b\u5909\u63db\u304c\u53ef\u80fd\u3067\u3059\u3002<\/p>\n<p>GAS\u3067\u6587\u5b57\u5217\u21d4\u6570\u5024\u306e\u5909\u63db\u3059\u308b\u969b\u306b\u306f\u3054\u53c2\u8003\u304f\u3060\u3055\u3044\u3002<\/p>\n<p><strong>\u203bGoogle App Script\u3067\u306e\u6587\u5b57\u5217\u306e\u5404\u7a2e\u51e6\u7406\u30fb\u64cd\u4f5c\u65b9\u6cd5\u306f\u4ee5\u4e0b\u306e\u8a18\u4e8b\u3067\u307e\u3068\u3081\u3066\u3044\u307e\u3059\u3002<\/strong><\/p>\n<blockquote class=\"wp-embedded-content\" data-secret=\"VUEIYS1JLk\"><p><a href=\"https:\/\/auto-worker.com\/blog\/?p=1504\">GoogleApps Script(GAS)\u6587\u5b57\u5217\u306e\u51e6\u7406\u30fb\u64cd\u4f5c\u65b9\u6cd5\u307e\u3068\u3081(\u7f6e\u63db\/\u5909\u63db\/\u62bd\u51fa\/\u5206\u5272\/\u9023\u7d50)<\/a><\/p><\/blockquote>\n<p><iframe loading=\"lazy\" class=\"wp-embedded-content\" sandbox=\"allow-scripts\" security=\"restricted\" style=\"position: absolute; clip: rect(1px, 1px, 1px, 1px);\" title=\"&#8220;GoogleApps Script(GAS)\u6587\u5b57\u5217\u306e\u51e6\u7406\u30fb\u64cd\u4f5c\u65b9\u6cd5\u307e\u3068\u3081(\u7f6e\u63db\/\u5909\u63db\/\u62bd\u51fa\/\u5206\u5272\/\u9023\u7d50)&#8221; &#8212; AutoWorker\u301cGoogle Apps Script(GAS)\u3068Sikuli\u3067\u59cb\u3081\u308b\u696d\u52d9\u6539\u5584\u5165\u9580\" src=\"https:\/\/auto-worker.com\/blog\/?p=1504&#038;embed=true#?secret=lRYAdL1pKn#?secret=VUEIYS1JLk\" data-secret=\"VUEIYS1JLk\" width=\"500\" height=\"282\" frameborder=\"0\" marginwidth=\"0\" marginheight=\"0\" scrolling=\"no\"><\/iframe><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Google Apps Script(GAS)\u3067String\u578b\u306e\u6587\u5b57\u5217\u5909\u6570\u3092\u6570\u5024\u578b\u306e\u5909\u6570\u306b\u5909\u63db\u3059\u308b\u65b9\u6cd5\u3092\u7d39\u4ecb\u3057\u307e\u3059\u3002 \u6587\u5b57\u5217\u2192\u6570\u5024\u306b\u5909\u63db\u3059\u308b\u3053\u3068\u306b\u52a0\u3048\u3001\u6570\u5024\u2192\u6587\u5b57\u5217\u306e\u5909\u63db\u306b\u3064\u3044\u3066\u3082\u89e3\u8aac\u3057\u3066\u3044\u304d\u307e\u3059\u3002 GAS\u306e\u6587\u5b57\u5217\u2192\u6570\u5024 [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":1445,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[2],"tags":[14,382,383,381,275,380,179],"class_list":["post-920","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-gas","tag-gas","tag-number","tag-parseint","tag-tostring","tag-275","tag-380","tag-179"],"_links":{"self":[{"href":"https:\/\/auto-worker.com\/blog\/index.php?rest_route=\/wp\/v2\/posts\/920","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/auto-worker.com\/blog\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/auto-worker.com\/blog\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/auto-worker.com\/blog\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/auto-worker.com\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=920"}],"version-history":[{"count":6,"href":"https:\/\/auto-worker.com\/blog\/index.php?rest_route=\/wp\/v2\/posts\/920\/revisions"}],"predecessor-version":[{"id":1734,"href":"https:\/\/auto-worker.com\/blog\/index.php?rest_route=\/wp\/v2\/posts\/920\/revisions\/1734"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/auto-worker.com\/blog\/index.php?rest_route=\/wp\/v2\/media\/1445"}],"wp:attachment":[{"href":"https:\/\/auto-worker.com\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=920"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/auto-worker.com\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=920"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/auto-worker.com\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=920"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}