Skip to content

Commit 75bbbb6

Browse files
committed
Fix error in replace operator
1 parent 2fc0804 commit 75bbbb6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/declarative-customization/formatting-syntax-reference.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -645,7 +645,7 @@ Operators specify the type of operation to perform. The following operators are
645645

646646
The substring() method returns the part of the string between the start and end indexes, or to the end of the string.
647647

648-
- **replace**: searches a string (or array) for a specified value and returns a new string (or array) where the specified value is replaced. Only the first instance of the value will be replaced.
648+
- **replace**: searches a string (or array) for a specified value and returns a new string (or array) where the specified value is replaced. Incase of string, only the first instance of the value will be replaced.
649649
- `"txtContent":"=replace('Hello world', 'world', 'everyone')"` results in _Hello everyone_
650650
- `"txtContent":"=replace([$MultiChoiceField], 'Choice 1', 'Choice 2')"` returns an array replacing Choice 1 with Choice 2
651651
- `"txtContent":"=replace([$MultiUserField], @me, '[email protected]')"` returns an array replacing @me with '[email protected]'

0 commit comments

Comments
 (0)