Reply to Re: Creating a vCal-interpreter

Your name:

Reply:


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]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация