回答編集履歴

1

2019/08/08 08:13

投稿

papinianus
papinianus

スコア12705

test CHANGED
@@ -10,7 +10,7 @@
10
10
 
11
11
  const dat = mySheet.getDataRange().getValues();
12
12
 
13
- const found = dat.filter(function(e) { return e[0].indexOf(slack) !== -1});
13
+ const found = dat.filter(function(e) { return e[0].toString().indexOf(slack) !== -1});
14
14
 
15
15
  const message = found.length ? found[0].join(","): "not found" ;
16
16