ok this is my question. i have this url
http://mycountry.county.india.com
and i want this in return
MYCOUNTRY.country.india.com
I have written a using SPLIT in C#. But that is bad though it does the job done. Anyone having a better solution in C#?
ANOTHER EXAMPLE
For this
http://my5-pc.in.aaa.com
i want this in return
MY5-PC.in.aaa.com
$1.upperor something`