|
Posted by daGnutt on 07/05/07 11:57
New problem (I'm sure this one is really easy)
In a string i have many rows, I want to extract some data from one of
those rows
Example:
>From the row "DTSTART;TZID=Europe/Stockholm:20070603T190000"
I wish to extract the value "20070603T190000" into an variable
Example 2
>From the row "DTSTART;VALUE=DATE:20070616"
I wish to extract the value "20070616"
These two examples are the only two variants of which I wish to
extract the information (at this point)
Can anyone give me a quick fix?
On 5 Juli, 10:56, daGnutt <gnutt.halvords...@gmail.com> wrote:
> It never fails!
> Just after posting the message I found a way to do this!
>
> On 5 Juli, 10:51, daGnutt <gnutt.halvords...@gmail.com> wrote:
>
> > I'm currently trying to write a vCal-interpreter, so that I can use a
> > google-calendar to show upcoming, and recently performed events.
>
> > The issue that I have now, is that I wish to split up the vCal-info
> > into blocks with data.
> > What I'm after right now is a way to fetch the row-nums from a string
> > where the rows are
>
> > First Occurence of
> > BEGIN:VEVENT
> > and then the first occurence of
> > END:VEVENT
>
> > (So I can divide it into blocks)
[Back to original message]
|