Skip to content

Instantly share code, notes, and snippets.

@inilim
Last active June 3, 2026 14:16
Show Gist options
  • Select an option

  • Save inilim/a61c329d2c142a6b7501bb906c1a94e7 to your computer and use it in GitHub Desktop.

Select an option

Save inilim/a61c329d2c142a6b7501bb906c1a94e7 to your computer and use it in GitHub Desktop.
SQLite Studio custom function split_and_to_json_array(string, separator)
const args = Array.from(arguments);
const text = String(args[0]);
const separator = String(args[1]);
return JSON.stringify(text.split(separator));
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment