Searching within variables in LC server

stephen barncard stephenREVOLUTION2 at barncard.com
Fri Dec 6 22:59:32 EST 2013


and lineOffset and wordOffset and itemOffset

*--*
*Stephen Barncard - San Francisco Ca. USA - Deeds Not Words*


On Thu, Dec 5, 2013 at 10:44 AM, Erik Schwartz <eriks at sisyph.us> wrote:

> Thanks. I knew it was easy.
>
>
> On Thu, Dec 5, 2013 at 10:41 AM, Klaus major-k <klaus at major-k.de> wrote:
>
> > Hi Erik,
> >
> > Am 05.12.2013 um 19:38 schrieb Erik Schwartz <eriks at sisyph.us>:
> >
> > > What is the equivalent to "find" for variables? I want to parse a
> string
> > in
> > > a variable to extract a chunk between two markers. This is easy in PHP.
> > >
> > > If it was in a stack I could just dump it into a field and use "find"
> and
> > > "foundchunk" but fields are not supported in server.
> > >
> > > I assume there's some obvious way to do this.
> >
> > maybe "offset" will help?
> >
> > > Thanks,
> > >
> > > Erik
> >
> > Best
> >
> > Klaus
> >
> > --
> > Klaus Major
> > http://www.major-k.de
> > klaus at major-k.de
> >
> >
> > _______________________________________________
> > use-livecode mailing list
> > use-livecode at lists.runrev.com
> > Please visit this url to subscribe, unsubscribe and manage your
> > subscription preferences:
> > http://lists.runrev.com/mailman/listinfo/use-livecode
> >
>
>
>
> --
> =============================================
> eriks at sisyph.us
> http://sisyph.us
> (530) 213-ERIK                                  http://twitter.com/eriks
> (530) 213-3745   http://www.linkedin.com/in/erikschwartz
> Archery stuff:                               http://barebow.tumblr.com/
> =============================================
> _______________________________________________
> use-livecode mailing list
> use-livecode at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your
> subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode
>



More information about the use-livecode mailing list