Count no of strings in a string

dim ref as string ="<a href=""/iyp/yp/"
hi i would like to know something how do i count the number of ref in a html document??you see i have another string call htmldoc(it contains a html document of a web page) and i want to extract all the ref in htmldoc how do i do that?

2) How do i include a closed inverted comma in a string??
dim a as string = "abcde"fghijk"""
How do i use the mid method to seacrh from " ??
11/13/2003 3:04:07 PM 91979 articles. 4 followers. Follow

3 Replies

Similar Articles

[PageSpeed] 37

1) You should learn about Regular Expressions

2) Double the quotes: "abcde""fghijk" to include them in a string literal. I don't know what an "inverted comma"is, though.
Does this help?
This posting is provided "AS IS" with no warranties, and confers no rights.
11/13/2003 9:32:39 PM
how do i convert this c sharp code to aspx 

// Create a new Regex object.
Regex r = new Regex(txtPattern.Text);
Match m = r.Match(rtDisplay.Text);
//rtMatch.AppendText("Found match at position " + m.Index+"\n");

11/17/2003 5:44:25 AM
What do you mean convert it to aspx? You could use that code in an ASP.NET application as is.

Don Kiely, MCP, MCSD
In the Last Frontier, Interior Alaska
Please post questions and replies to the forum! And remember to MARK AS ANSWER when someone definitively answers a question or resolves a problem!
11/17/2003 5:53:22 AM

Web resources about - Count no of strings in a string -

Kubo and the Two Strings - Wikipedia, the free encyclopedia
Kubo and the Two Strings is an upcoming American 3D stop motion film produced by Laika for Focus Features . It is being directed by Travis Knight ...

Facebook + Twitter + Klout + Pinterest = No-Strings-Attached Dates? April Fool’s!
... Twitter, and Klout, and then brings it into Pinterest and uses a “secret algorithm” to match up “like-minded Pinterest users” for “no-strings ...

Query Strings - Quora
Quora is your best source for knowledge.

UltraTuner - Ultra Precise Chromatic Tuner for Guitar, Bass, Strings, Brass and More on the App Store ...
Get UltraTuner - Ultra Precise Chromatic Tuner for Guitar, Bass, Strings, Brass and More on the App Store. See screenshots and ratings, and read ...

Kubo and the Two Strings Trailer 2016 - YouTube
Kubo and the Two Strings Trailer 2016. Kubo lives a quiet, normal life in a small shoreside village until a spirit from the past turns his life ...

Pakistani band Strings battles it out with Indian band Euphoria at Red Bull Soundclash - The National ...
Everyone's a winner at battle of the bands as musicians from both bands declare a draw, delighting the crowd at Dubai World Trade Centre.

Home help has strings attached
Home help has strings attached

A bad time for households to tighten the purse strings
Growth continues to be driven largely by resource exports, leaving the economy vulnerable to the whims of China. Household consumption is needed ...

Pure strings
Pure strings

Resources last updated: 1/21/2016 6:02:05 AM