I use a parser called jsoup to parse html amd store it in a mysql database. The parser reads the files with an input stream. The problam is that some class en id atributes are given with class="". The parser cant find those atributes and returns a blank string. I tried to replace the " with \" using this function: http://www.fobit.com/index.php?article=Java%3A%20str_replace but here comes the problem. I cant give the search argument because """ gives a error. Using "\"" as argument gives no error but i t doesnt replace the "
steven447 -5 Newbie Poster
Shinedevil 8 Junior Poster in Training
steven447 commented: Thanks it worked +0
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.