-
Notifications
You must be signed in to change notification settings - Fork 275
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
New function STR_SPLIT #513
Conversation
Why not defining a single method Using You would even have much more possibilities. I am just unsure of using a regex or just a simple string as separator is better. |
@uklimaschewski, the functions Regarding the doubt whether to use a regex or a separator, why not implement both? ;)
|
Sorry for the late answer, this fell totally off my table. If you modify your PR accordingly, or open a new one I'd be happy to merge it. |
|
I've just implemented the function |
Thank you very much! Adding the |
This push introduces new string functions:
STR_SUBSTRING_AFTER(string, separator)
STR_SUBSTRING_BEFORE(string, separator)
Examples:
STR_SUBSTRING_AFTER("file.json", ".")
"json"
STR_SUBSTRING_BEFORE("2024/10/23", "/")
"2024"