Skip to content
Snippets Groups Projects
Unverified Commit ae151525 authored by Tom Robinson's avatar Tom Robinson Committed by GitHub
Browse files

Rename substitute function to replace. Resolves #12306 (#12316)

parent f3b28570
No related branches found
No related tags found
No related merge requests found
......@@ -177,7 +177,7 @@ export const MBQL_CLAUSES = {
multiple: true,
},
replace: {
displayName: `substitute`,
displayName: `replace`,
type: "string",
args: ["string", "string", "string"],
},
......
......@@ -35,7 +35,7 @@ const STRING_FUNCTIONS = [
{ text: "ltrim(", type: "functions" },
{ text: "regexextract(", type: "functions" },
{ text: "rtrim(", type: "functions" },
{ text: "substitute(", type: "functions" },
{ text: "replace(", type: "functions" },
{ text: "substring(", type: "functions" },
{ text: "trim(", type: "functions" },
{ text: "upper(", type: "functions" },
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment