Hi,
To solve the problem on my recent post I need to do the following:
I have a string that contains an html link which can be external:
i.e "or internal:
"/data/toto/titi/index.html#Get"
I thought I would use # to differentiate between the two so
1) test if there is a # in the string
2) if not it is an external link
3) if yes then I want to extract the #Get part
What is the best way to do this?
Thanks,
To solve the problem on my recent post I need to do the following:
I have a string that contains an html link which can be external:
i.e "or internal:
"/data/toto/titi/index.html#Get"
I thought I would use # to differentiate between the two so
1) test if there is a # in the string
2) if not it is an external link
3) if yes then I want to extract the #Get part
What is the best way to do this?
Thanks,