that's of course providing you can't get them double-backslashed
coming into your app in the first place.
:-)
g.
On 11/16/05, g.wygonik <[EMAIL PROTECTED]> wrote:
> the non-elegant way:
>
> trace( "C:\Documents and
> Settings\never\return".split("\D").join("\\D").split("\r").join("\\r").split("\n").join("\\n")
> );
>
> eh...
>
> of course you'd really have to include all the possible escape chars
> to deal with this correctly - and of course then you'd have to
> consider the time to split/join all the chars...
>
> g.
_______________________________________________
Flashcoders mailing list
[email protected]
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders