-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstd_text_replace_first.proto.json
More file actions
93 lines (93 loc) · 2.09 KB
/
Copy pathstd_text_replace_first.proto.json
File metadata and controls
93 lines (93 loc) · 2.09 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
{
"runtimeName": "std::text::replace_first",
"runtimeParameterDefinitions": [
{
"runtimeName": "value",
"defaultValue": null,
"name": [
{
"code": "en-US",
"content": "Original Text"
}
],
"description": [
{
"code": "en-US",
"content": "This text contains the subtext that will be replaced only once—the first occurrence."
}
],
"documentation": []
},
{
"runtimeName": "oldText",
"defaultValue": null,
"name": [
{
"code": "en-US",
"content": "Old Subtext"
}
],
"description": [
{
"code": "en-US",
"content": "Only the first occurrence of this subtext will be replaced in the original text."
}
],
"documentation": []
},
{
"runtimeName": "newText",
"defaultValue": null,
"name": [
{
"code": "en-US",
"content": "New Subtext"
}
],
"description": [
{
"code": "en-US",
"content": "This subtext will replace only the first occurrence of the old subtext."
}
],
"documentation": []
}
],
"throwsError": false,
"name": [
{
"code": "en-US",
"content": "Replace First Subtext"
}
],
"description": [
{
"code": "en-US",
"content": "Replaces the first occurrence of a specified subtext with another subtext in the input text."
}
],
"documentation": [
{
"code": "en-US",
"content": "Returns a new text where only the first instance of the old subtext is replaced by the new subtext."
}
],
"alias": [
{
"code": "en-US",
"content": "replace_first;text;string;std;replace;first"
}
],
"displayMessage": [
{
"code": "en-US",
"content": "In ${value} replace first ${old} with ${new}"
}
],
"deprecationMessage": [],
"displayIcon": "tabler:abc",
"signature": "(value: TEXT, oldText: TEXT, newText: TEXT): TEXT",
"linkedDataTypeIdentifiers": [
"TEXT"
]
}