Skip to content

Commit 9989928

Browse files
committed
update
1 parent 4320aaa commit 9989928

File tree

1 file changed

+0
-17
lines changed

1 file changed

+0
-17
lines changed

articles/azure-resource-manager/bicep/bicep-functions-string.md

Lines changed: 0 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -188,8 +188,6 @@ The output from the preceding example is:
188188
| ---- | ---- | ----- |
189189
| uriOutput | String | `https://mystorage.blob.core.windows.net/templates/nestedTemplate.json?st=2025-05-09#section` |
190190

191-
### Additional Example: Combining with `parseUri`
192-
193191
The following example shows how to use `parseUri` to extract components from an existing URI, modify them, and then use `buildUri` to reconstruct a new URI:
194192

195193
```bicep
@@ -212,19 +210,6 @@ The output from the preceding example is:
212210
| originalHost | String | `mystorage.blob.core.windows.net` |
213211
| newUri | String | `https://mystorage.blob.core.windows.net/newdata/newfile.json?newParam=value` |
214212

215-
```bicep
216-
param originalUri string = 'https://mystorage.blob.core.windows.net/data/file.json?st=2025-05-09'
217-
218-
var parsedUri = parseUri(originalUri)
219-
var newPath = '/newdata/newfile.json'
220-
var newQuery = '?newParam=value'
221-
222-
var newUri = buildUri(parsedUri.scheme, parsedUri.host, newPath, newQuery, parsedUri.fragment)
223-
224-
output originalHost string = parsedUri.host
225-
output newUri string = newUri
226-
```
227-
228213
## concat
229214

230215
`concat(arg1, arg2, arg3, ...)`
@@ -1039,8 +1024,6 @@ The output from the preceding example with the default values is:
10391024
| fragment | String | `#section` |
10401025
| isAbsolute | Bool | `true` |
10411026

1042-
### Additional Example: Combining with `uri`
1043-
10441027
The following example shows how to use `parseUri` to extract the host and scheme, then reconstruct a new URI with a different path using the `uri` function:
10451028

10461029
```bicep

0 commit comments

Comments
 (0)