Link to home
Start Free TrialLog in
Avatar of quest_capital
quest_capital

asked on

Get the first 100 words of a paragraph.

How can I get the first 100 words of a paragraph.
Do I use an array with the split function or......

Please write out code:

Thanks
Avatar of Gary
Gary
Flag of Ireland image

<%
tempArray=split("the_phrase"," ")

for count=0 to 99
    response.write tempArray(count) & " "
next
%>
ASKER CERTIFIED SOLUTION
Avatar of cb1393
cb1393
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial