How to get URL after .com in Salesforce?

Sample code:

urlstr = ApexPages.currentPage().getUrl().replace('.override=1', '.override=0');

The above code is used to get URL after .com in Salesforce using Apex.

Cheers!!!

No comments:

Post a Comment