AddaByte    Programmers' Script Repository
Free and low cost software.
spacer
Find out about our beautiful fractal backgrounds at abm-enterprises


Newsletter Signup
Name
Email
 

  ASP - Tutorials - Count Words in a Sentence
 


Save up to 75% on software

Drive Clone

the best name in hosting


<%
'the string to check
strText = "This is our sample text for this example"
'split the strText
arrText = Split(strText ," ")
'store the amount of words into intWords
intWords = Ubound(arrText )
'display how many words are in the sentence
Response.Write "There are " & intWords & " words in " & strText
%>
  What does it do?
   This script will split a string on spaces and count the number of words in a string. FREE ASP
 
  Features
  Added by Added Downloads Rating Popularity

  rpgivpgmr

3:44:55 AM Thursday, May 31st 2007

97

not rated

 
 
  About the file
  Size Download Rate It  

  359 KB
  download this file
 
 
  Comments
no comments
 
  Add your comment
 Email  
 Subject  
 Comment  
 Verification code:

 
    All comments are screened by the admin prior to being posted
     
 
  Contacts
  Report Abuse