Created
June 3, 2026 13:22
-
-
Save inilim/635109db1a23ed065f77c99feeb49531 to your computer and use it in GitHub Desktop.
SQLite Studio custom function str_contains()
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| const args = Array.from(arguments); | |
| const text = String(args[0]); | |
| args.shift(); | |
| for (let arg of args) { | |
| if(text.includes(String(arg))){ | |
| return true; | |
| } | |
| } | |
| return false; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment