Scott-

Monday, July 15, 2013, 3:12:00 PM, you wrote:

> I recently worked with a client to trace some non-functioning behavior in
> a stack to the use of commas in a folder name where the user placed the
> application and support files. I always use long ids for object
> references, so of course my scripts tripped up where the default
> itemDelimiter (comma) was used.

Commas in a folder name? WTFclients?

Long ids have the file path enclosed in quotes, so ideally the comma
there shouldn't be an issue unless you're trying to pick the path
apart. I've had similar situations with commas in property names (I'm
looking at you, IDE) and dealt with it by

replace comma with "_MAGIC_COMMA_" in tString

and then done the reverse replacement on the way out.

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