google-sheets - Google 表格的查询以查找包含在字符串末尾的内容
问题描述
例如,当它是字符串的结尾但不在查询的中间时,如何指示包含“xyz”
xyzabc
应该返回 false
abcxyz
应该返回 true
在查询结果中。
解决方案
在QUERY
你可以使用ends with
像:
=QUERY(A:D, "select A,B where D ends with 'xyz'", 0
https://developers.google.com/chart/interactive/docs/querylanguage#where
推荐阅读
- reactjs - TextField 调用 handleChange 两次
- java - 单击时更改通知按钮图标
- php - PHP file_get_content() 失败但 wget 有效?
- ruby - ruby / 将参数传递给动态创建的类
- javascript - 在鼠标点击时从预加载播放随机声音文件(mp3 文件)
- jquery - jQuery cookie 值作为 AJAX 响应变量
- python - AttributeError:“图像”对象没有属性“框架”
- kubernetes - OpenShift - 外部数据库环境变量
- c++ - 存储 lambdas 的向量——CLANG 与其他两个
- git - 如何丢弃同一分支中的一些旧提交?