Searching within variables in LC server

Erik Schwartz eriks at sisyph.us
Thu Dec 5 13:38:05 EST 2013


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.

Thanks,

Erik

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