How to find a particular string in a paragraph in android?

Posted by user1448108 on Stack Overflow See other posts from Stack Overflow or by user1448108
Published on 2012-06-11T03:46:43Z Indexed on 2012/06/11 4:40 UTC
Read the original article Hit count: 195

Filed under:
|

In my project the data is stored in html format along with image tag. For example the following data is stored in html format and it contains 2 to 3 images.

Mother Teresa as she is commonly known, was born Agnes Gonxha Bojaxhiu. Although born on the 26 August 1910, she considered 27 August, the day she was baptized, to be her "true birthday". “By blood, I am Albanian. By citizenship, an Indian. By faith, I am a Catholic nun. As to my calling, I belong to the world. As to my heart, I belong entirely to the Heart of Jesus." img ----- src="image1.png" ----> Mother Teresa founded the Missionaries of Charity, a Roman Catholic religious congregation, which in 2012 consisted of over 4,500 sisters and is active in 133 countries.img ----- src="image2.png" ---->. She was the recipient of numerous honours including the 1979 Nobel Peace Prize. She refused the conventional ceremonial banquet given to laureates, and asked that the $192,000 funds be given to the poor in India. img ----- src="image3.png" ---->

Now from the above data I need to find how many images the paragraph has and need to get all the image names along with the extensions and should display them in android. Tried with splitting but did not work. Please help me regarding this.

Thanks in advance

© Stack Overflow or respective owner

Related posts about java

Related posts about android