Searching within variables in LC server

Klaus major-k klaus at major-k.de
Thu Dec 5 13:41:05 EST 2013


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





More information about the use-livecode mailing list