Created
June 3, 2026 13:23
-
-
Save inilim/5eabc959ea25c2ae9b8f5a692b285dc9 to your computer and use it in GitHub Desktop.
SQLite Studio custom function str_icontains()
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]).toLowerCase(); | |
| args.shift(); | |
| for (let arg of args) { | |
| if(text.includes(String(arg).toLowerCase())){ | |
| return true; | |
| } | |
| } | |
| return false; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment