Hi,
completeString = "<p><a href="http://www.google.com" > ..... "
Now I want to extract the link pointed out by href so I try to find the
position of first the href tag and then try to see where the quotes begin.
pos_tag = completeString. IndexOf("href", 0, completeString. Length);
pos_text_tag_st art = completeString. IndexOf("\"", pos_tag,
completeString. Length);
but this last line gives me an error - how can I find the position of a
quote - " in a string?
I have also tried :
pos_text_tag_st art = completeString. IndexOf(""", pos_tag,
completeString. Length);
Any help is appreciated.
completeString = "<p><a href="http://www.google.com" > ..... "
Now I want to extract the link pointed out by href so I try to find the
position of first the href tag and then try to see where the quotes begin.
pos_tag = completeString. IndexOf("href", 0, completeString. Length);
pos_text_tag_st art = completeString. IndexOf("\"", pos_tag,
completeString. Length);
but this last line gives me an error - how can I find the position of a
quote - " in a string?
I have also tried :
pos_text_tag_st art = completeString. IndexOf(""", pos_tag,
completeString. Length);
Any help is appreciated.
Comment