The Telegraph
 
 
ARCHIVES
Since 1st March, 1999
 
THE TELEGRAPH
 
 
Email This Page
SCORE CARD
<% dim line() redim line(13) dim dat1,dat2,dat3 dim txt dim reg,temp set reg=new regexp reg.global=true reg.IgnoreCase=true line(0)="*bengal" line(1)="First innings" line(2)="A. C’borty       c Teja b Ojha       25" line(3)="A. Das       lbw Mohan       25" line(4)="A. Majumdar       c Ahmed b Arjun       25" line(5)="M. Tiwary       batting       147" line(6)="S. Ahmed       c Manohar b Shinde       14" line(7)="L.R. Shukla       c Pai b Shinde       0" line(8)="W. Saha       batting       34" line(9)="Extras (lb-2, lb-12, b-5)       19" line(10)="Total (for 5 wkts in 95 ovrs)       289" line(11)="Fall of wkts: 1-45, 2-67, 3-126, 4-221, 5-221" line(12)="Bowling: Arjun 9-2-24-1, Shoaib 11-3-22-0, Ojha 33-10-100-1, 25-3-71-1, Shinde 16-1-53-2, Teja 1-0-2-0" redim preserve line(13) response.write " " for i=0 to ubound(line)-1 reg.pattern=" " set temp=reg.Execute(line(i)) if temp.count=0 and left(line(i),1)="*" then 'Segregate name response.write " " & vbcrlf response.write " " & vbcrlf response.write " " & vbcrlf elseif temp.count=0 and left(line(i),1)<>"*" then 'Segregate info e.g. innings response.write " " & vbcrlf response.write " " & vbcrlf response.write " " & vbcrlf else 'The rest is data dat1=" " dat2=" " dat3=" " txt=split(line(i)," ",-1) for j=0 to ubound(txt) if txt(j)<>"" then if dat1=" " then dat1=txt(j) elseif dat2=" " then dat2=txt(j) elseif dat3=" " then dat3=txt(j) end if end if next if dat3=" " and dat2<>" " then dat3=dat2 dat2=" " end if response.write " " response.write " " & vbcrlf response.write " " & vbcrlf response.write " " & vbcrlf response.write " " & vbcrlf end if next response.write "
" & vbcrlf response.write "" & mid(line(i),2) & "" response.write "
" & vbcrlf response.write line(i) & "

" response.write "
" & vbcrlf response.write dat1 response.write "" & vbcrlf response.write dat2 response.write "" & vbcrlf response.write dat3 response.write "
" %>
Top
Email This Page