[Function](string) support sub_replace function (#13736)

* [Function](string) support sub_replace function

* remove conf
This commit is contained in:
zhangstar333
2022-10-28 08:40:08 +08:00
committed by GitHub
parent 36053d2419
commit 43c6428aea
8 changed files with 256 additions and 1 deletions

View File

@ -686,6 +686,8 @@ void register_function_string(SimpleFunctionFactory& factory) {
factory.register_function<FunctionMoneyFormat<MoneyFormatDecimalImpl>>();
factory.register_function<FunctionStringMd5AndSM3<SM3Sum>>();
factory.register_function<FunctionReplace>();
factory.register_function<FunctionSubReplace<SubReplaceThreeImpl>>();
factory.register_function<FunctionSubReplace<SubReplaceFourImpl>>();
factory.register_alias(FunctionLeft::name, "strleft");
factory.register_alias(FunctionRight::name, "strright");