Page History
Page properties | |||||||
---|---|---|---|---|---|---|---|
| Status | ||||||
Tech review |
| ||||||
Style guide |
|
Status | ||
---|---|---|
|
Status | ||||
---|---|---|---|---|
|
Status | ||||
---|---|---|---|---|
|
Status | ||||
---|---|---|---|---|
|
hidden | true |
---|
Replaces the first occurrence of a given text with the given replacement.
size | medium |
---|---|
type | info |
This function replaces the first occurrence of a given text with a given replacement.
Code Block | ||||||
---|---|---|---|---|---|---|
| ||||||
findReplaceFirst(text, textToBeReplaced, replacement) #Output: Text |
UI Expand | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
| |||||||||||
|
UI Expand | ||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| ||||||||||||||||||||||||||||||||||||
Parameters used in this function
|
UI Expand | ||||||||
---|---|---|---|---|---|---|---|---|
| ||||||||
This function returns a
|
UI Text Box | ||
---|---|---|
| ||
If you want to use a regular expression instead, have a look at replaceFirst(). If you want to replace all occurences of a substring, have a look at findReplaceAll(). |
Page properties | ||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|
| ||||||||||||
|