Table plus |
---|
applyColStyleToCell | true |
---|
columnTypes | s,s,s,s |
---|
heading | 0 |
---|
multiple | false |
---|
columnAttributes | style="background:#e5e7ea;font-weight:bold,,style="background:#e5e7ea;font-weight:bold, |
---|
enableSorting | false |
---|
|
Syntax | replace(str, search_str, replacement_str) | Package |
| Alias |
| Pkg Usage |
|
|
Description
Excerpt |
---|
|
Replaces the search_str string with replacement_str in str and returns the resulting string. |
Replaces the search_str string with replacement_str in str and returns the resulting string. The string str is not modified.
...
Table plus |
---|
applyColStyleToCell | true |
---|
columnTypes | s,s,s,s |
---|
heading | 0 |
---|
multiple | false |
---|
enableSorting | false |
---|
|
Parameter name | Type | Required | Description |
---|
str | String | Yes | Specifies the string to replace characters for. | search_str | String | Yes | Specifies a character expression to search for in str. | replacement_str | String | Yes | Specifies the string that replaces search_str. |
|
Return Type
String
Examples
...
Code Block |
---|
|
wret = replace("aaa", "aa", "b");
print(wret); |
Print ba
See also
Filter by label (Content by label) |
---|
showLabels | false |
---|
max | 25 |
---|
showSpace | false |
---|
cql | label = "string_routine" and space = currentSpace ( ) |
---|
labels | array_routines |
---|
|