function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
pooja chauchanpooja chauchan 

Formula field to change a field populated with http: to https:

I have a url field that is populated by a third party integration.  This field uses http: to populate the url link.  I would like to convert the http: portion of the url to https: maintaining the remaining url information.  Can this be done?
Best Answer chosen by pooja chauchan
Gaurav NirwalGaurav Nirwal
You can create a new formula field, and use SUBSTITUTE function to replace http with https. Here is more informtion: 
https://www.salesforce.com/us/developer/docs/pages/Content/pages_variables_functions.htm