I have these strings:
baseUrl = "http://www.example.com"
baseUrl = "https://secure.example-server.com:443"
Can someone tell me how I can extract the server information from baseUrl so I can get either "example" and "example-server"
Collected from the Internet
Please contact [email protected] to delete if infringement.
Comments