Split function to split a string by a regex?

I want to implement a search UDF and I need to do the equivalent of myStr.split(' ').map(part => {}) in that UDF

There is a community npm package with a bunch of utility FQL snippets and UDFs. It has a StringSplit function that you might check out.

Hi @aprilmintacpineda did that help? Let us know if if you still have questions or if we can mark a solution for this one. Thanks!