Author: ks.software developers | Posted on: 3/21/2010 5:05:27 AM | Views : 293

hi,
 we want to split a html string in an array....so that contents between the tags should be considered as a single element in an array...for eg :
input html string ="<html> <title> introduction</title>  <body><h1>Hello world </h1></body></html>"
and the array should be:
a[1]=<html>
a[2]=<title>
.
.
a[7]=hello world
i am getting hello and world as a separate elements in an array...and spaces should also be considered as an element of an array....
 
thanx
 
 
...

Go to the complete details ...