@@ -3740,40 +3740,6 @@ range(1, 4)
3740
3740
3741
3741
And returns this result: ` [1, 2, 3, 4] `
3742
3742
3743
- <a name =" replace " ></a >
3744
-
3745
- ### replace
3746
-
3747
- Replace a substring with the specified string,
3748
- and return the result string. This function
3749
- is case-sensitive.
3750
-
3751
- ```
3752
- replace('<text>', '<oldText>', '<newText>')
3753
- ```
3754
-
3755
- | Parameter | Required | Type | Description |
3756
- | --------- | -------- | ---- | ----------- |
3757
- | <* text* > | Yes | String | The string that has the substring to replace |
3758
- | <* oldText* > | Yes | String | The substring to replace |
3759
- | <* newText* > | Yes | String | The replacement string |
3760
- |||||
3761
-
3762
- | Return value | Type | Description |
3763
- | ------------ | ---- | ----------- |
3764
- | <* updated-text* > | String | The updated string after replacing the substring <br ><br >If the substring isn't found, return the original string. |
3765
- ||||
3766
-
3767
- * Example*
3768
-
3769
- This example finds the "old" substring in "the old string" and replaces "old" with "new":
3770
-
3771
- ```
3772
- replace('the old string', 'old', 'new')
3773
- ```
3774
-
3775
- And returns this result: ` "the new string" `
3776
-
3777
3743
<a name =" removeProperty " ></a >
3778
3744
3779
3745
### removeProperty
@@ -3871,6 +3837,38 @@ Here's the updated JSON object:
3871
3837
}
3872
3838
```
3873
3839
3840
+ <a name =" replace " ></a >
3841
+
3842
+ ### replace
3843
+
3844
+ Replace a substring with the specified string, and return the result string. This function is case-sensitive.
3845
+
3846
+ ```
3847
+ replace('<text>', '<oldText>', '<newText>')
3848
+ ```
3849
+
3850
+ | Parameter | Required | Type | Description |
3851
+ | --------- | -------- | ---- | ----------- |
3852
+ | <* text* > | Yes | String | The string that has the substring to replace |
3853
+ | <* oldText* > | Yes | String | The substring to replace |
3854
+ | <* newText* > | Yes | String | The replacement string |
3855
+ |||||
3856
+
3857
+ | Return value | Type | Description |
3858
+ | ------------ | ---- | ----------- |
3859
+ | <* updated-text* > | String | The updated string after replacing the substring <br ><br >If the substring isn't found, return the original string. |
3860
+ ||||
3861
+
3862
+ * Example*
3863
+
3864
+ This example finds the "old" substring in "the old string" and replaces "old" with "new":
3865
+
3866
+ ```
3867
+ replace('the old string', 'old', 'new')
3868
+ ```
3869
+
3870
+ And returns this result: ` "the new string" `
3871
+
3874
3872
<a name =" result " ></a >
3875
3873
3876
3874
### result
@@ -5550,4 +5548,4 @@ Here's the result: `Paris`
5550
5548
5551
5549
## Next steps
5552
5550
5553
- Learn about the [ Workflow Definition Language] ( ../logic-apps/logic-apps-workflow-definition-language.md )
5551
+ Learn about the [ Workflow Definition Language] ( ../logic-apps/logic-apps-workflow-definition-language.md )
0 commit comments