On Sep 22, 2014, at 4:33 PM, Richard Gaskin <ambassa...@fourthworld.com> wrote:

> But it really should be a one-liner

OK, Richard.  Here's one.

-- given variable tFile, containing the name of a file in the default folder
-- given variable tSize, which is where to put the size of the file

     get matchText( the detailed files, ( "(?m)^\Q" & urlEncode( tFile ) & 
",\E(\d*).*" ), tSize )

Too bad it's so hard to read, remember, and type.
_______________________________________________
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode

Reply via email to