Tom-

Wednesday, July 17, 2013, 6:03:26 PM, you wrote:

> The reason I ask is I am making filenames by merging a name like
> "Thomas" or "Tom" with the date converted to seconds as in
> "Thomas1376625600.txt" or "Tom1376625600.txt" 

Regex to the rescue:

get matchtext(tFileName, "([A-Za-z]+)([0-9]+)", tName, tSeconds)

-- 
-Mark Wieder
 mwie...@ahsoftware.net


_______________________________________________
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