0

Is there a way to remove specific characters from an ARM template output? Specifically, I have an output which uses the storagePrimaryEndpointsBlob value so this would be https://storageaccount.blob.core.windows.net/:

"StoragePrimaryEndpointsBlob": {
  "type": "string",
  "value": "[reference('storage-account').outputs.storagePrimaryEndpointsBlob.value]"
}

I would like to remove the trailing '/' from the output.

1 Answers1

0

You can use the substring function on the ARM template. substring(stringToParse, startIndex, length)

More info

Hugo Barona
  • 1,303
  • 9
  • 21