Hello, I want to add the substring-before(string1,string2) function to this module but I don't know how to.

Thank you