【GAS】配列に指定文字列が含まれているか検索する(includes / indexOf / lastIndexOf / filter)
![Thumbnail of post image 184](https://tetsuooo.net/wp-content/uploads/2022/08/element-7363837_960_720-150x150.png)
Google Apps Script(GAS)プログラムのあらゆる場面で、配列(Arrayオブジェクト)が重要な役割を果たすため、処理対象の配列に求めている値があるのかや、配列内の検索結果に対す ...
【GAS】文字列に指定文字列が含まれているかの確認(match / indexOf / lastIndexOf / search / includes)
![Thumbnail of post image 067](https://tetsuooo.net/wp-content/uploads/2022/03/search-768328_960_720-150x150.png)
Google Apps Script(GAS)プログラム処理やスプレッドシートを処理する際、特定の文字列を含んでいるか調べたり配列から部分一致で検索をかけて抽出したいシーン多いですよね。GASも ...