Geoff Canyon wrote:

> It _is_ slightly more difficult, since you need to watch out for the "/" character 
>in the legitimate path, which will have been translated to a ":"
> 
> You could either escape the ":" which always gives me a headache, or do a 
>character-by-character switch. I generally go the headache route, but I have no 
>aspirin handy at the moment...

I sometimes do it this way:

replace colon with numToChar(8) in tPath
replace "/" with colon in tPath
replace numToChar(8) with "/" in thePath

I like using the ascii for "delete" as a placeholder, because it works
fine and there's no way a user has typed it.

I have some Tylenol if you want it...

-- 
Jacqueline Landman Gay         |     [EMAIL PROTECTED]
HyperActive Software           |     http://www.hyperactivesw.com
_______________________________________________
metacard mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/metacard

Reply via email to