I have a variable text in Java that i managed to read from a calendar blob file. it contain a sample like this:
"BEGIN:VCALENDAR PRODID:-//Kusss//DE VERSION:2.0 METHOD:PUBLISH BEGIN:VEVENT UID:at-coursedate-1330089 DTSTAMP:20161110T124248Z DTSTART:20161005T114500Z DTEND:20161005T150000Z SUMMARY:Mobile Computing (367008/2016W)\, Lva-LeiterIn: prof DESCRIPTION: LOCATION:S3 057 X-GWSHOW-AS:BUSY END:VEVENT END:VCALENDAR"
I want to extract specific blocks from the text and store it in an array. my interest is only in getting info of
DTSTART:20161005T114500Z
DTEND:20161005T150000Z
How can i achieve that with simple JAVA Code? thanks so much in advance!