I want to format one string “Event”
When I print it. it gives me result like :
When : Wed 18 Apr 2012 04:30 to Wed 18 Apr 2012 06:30
Who: test@gmail.com
Event status : Confirmed.
It gives answers in this 3 category.
Who,when and Event Status.
But i want these three results in a separate string .How to format these string so that i ll get it seperately
String[] parts = resultString.split("\n+");This will split your string by enters (
\n+means one or more new line symbol) and store parts inpartsarray