Monday, 19 August 2013

how to separate a string from text in android

how to separate a string from text in android

I want to split a string from text. my text is
Text: "#FoodType:Veg#\r\n#Ratings:5.0#\r\n#Description:Short Description#"
I want like this
"#FoodType:" + veg + "#". only want veg, that is the value of foodType.

No comments:

Post a Comment