The Bigger Function New Hampshire

Let's look at the function outside of the script and figure out how it works.

Local Companies

Nuwave Technologies Inc
(603) 594-9896
154 Broad St
Nashua, NH
Robert Half Technology
(603) 647-6200
1155 Elm St
Manchester, NH
Voyager Systems Inc
(603) 472-5172
360 Route 101
Bedford, NH
Cis Technical Service
(603) 889-4684
33 Main St Ste 302
Nashua, NH
Walker Douglas S
(603) 329-4028
98 West Rd
Hampstead, NH
QED Connect
(603)881-3884
2 Townsend West Unit 1
Nashua, NH
Stellacon Corp
(603) 859-0470
Polliwog Ln
Farmington, NH
Skunk Works the
(603) 753-8933
33 N Main St
Concord, NH
Asta Inc
(603) 889-2230
1 Chestnut St Ste 205
Nashua, NH
Focal Point Computer Services
(603) 895-0816
4 Branch Rd
Raymond, NH

provided by: 
Originally published at Internet.com


Around the Script in 80 Tips...

Last week we hit upon the doit() function. That function is actually sitting inside of a larger function named DelHTML(). You can probably guess that the name is shorthand for "Delete HTML". Today we'll figure out how it works and wrap this script up.

The Script's Effect

-----------------------------------

Here's the Code

As always, it's easier to understand these functions and scripts if you understand the overriding reason for their existence. What does the author want this function to do?

The purpose of the script is to eliminate all of the HTML tags and return just the text. That's not that hard of a job because we know that every tag begins with < and ends with >. So we need to create a function that will look for < and > and return to use everything except those characters and what is inside them.

The process must take place time and time again in order to eliminate all tags. First you eliminate the first html tag, then return all the leftover text and work on it eliminating the next tag. Then you return all of the remaining text and work on that eliminating the next tag. It goes on until all the tags are gone...

Read article at Internet.com site

Featured Local Company

QED Connect

(603)881-3884
2 Townsend West Unit 1
Nashua, NH
http://www.qedconnect.com

QED Connect, Inc. is an information security Software-as-a-Service (SaaS) provider that gives organizations visibility, management and control of activity on all their computers, laptops and wireless devices. The company’s popular SaaS, Omni Manager, is an affordable way to monitor and manage how employees are using company computers and the Internet at any time, from any location in the world. This solves the problems created by today’s ‘virtual’ work environment of branch offices, remote workers and traveling employees. Omni Manager is a web-hosted software application that includes e-mail and Internet filtering and blocking, antivirus, instant messaging management, asset tracking, application usage monitoring and policy management. ROI is delivered by employee productivity gains, cost savings and improved operational efficiencies.


Topics: 
Architecture & Design Languages & Tools Project Management Web Services
Database Microsoft & .NET Security Wireless
Java Open Source Techniques XML