Searching within variables in LC server

Erik Schwartz eriks at sisyph.us
Thu Dec 5 13:44:48 EST 2013


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/
=============================================



More information about the use-livecode mailing list