At 12:44 AM +0200 5/24/05, you wrote:
besides, is there any chance MM will have unix/osx-style paths
implemented in director in the future?
if you mean using / as the delimiter, that support was put in during d6
-Buzz
gr+tnx
arri
---8---
On 23 mei 2005, at 22:51, Daniel Nelson wrote:
ok...
so me and my big mouth should have looked into the documentation better
(as usual) before posting here..
On 24 mei 2005, at 17:47, Buzz Kettles wrote:
if you mean using / as the delimiter, that support was put in during d6
-Buzz
[To remove yourself from this list, or to change to
hi
this must be so easy, but i can't find the answer anywhere;
howto replace all occurences of a character in a string with another
character?
the time i wasted with searching i could have also spent with making a
handler that does that,
but there must be a much faster way of doing it than
Below is a generic Search and Replace routine that I have been using
for years. It allows for any length string using the containsand
offset commands. I believe that this is faster than going
character by character.
But the real question is why do you have hard coded path names in
your
here's a version I wrote for mac - just add your prefixes for windows
on replacePathForUnix me, trackpath
replaceDelim = /
if the environment.platform contains Macintosh then
myPrefix = /Volumes/
findDelim = :
else
--// windows
myprefix =
findDelim = \
end if
thanks for you responses,
in the meanwhile i wrote a handler myself,
just to not waste time searching.
but i posted the question becuase i asumed there must be much more
efficient way to do it, rather than creating repeatloops and walk
through all paths.
this can become very time/cpu
Check out the free PregEx extra. Search and replace made easy and processor
friendly.
Regards,
Daniel
arjen wrote:
thanks for you responses,
in the meanwhile i wrote a handler myself,
just to not waste time searching.
but i posted the question becuase i asumed there must be much more
but i posted the question becuase i asumed there must be much more
efficient way to do it
In addition to PregEx if you're in DMX'04 you could create a JavaScript
syntax regular expression object and do all this a bit faster and
cleaner.
Cheers,
Tom Higgins - Technical Product Manager
hmmm, yes
i'm aware of the need to get more java-/actionscript capable...
i'm using it for some other things that are much more complicated to do
in lingo,
but i don't master it yet..and i currently don't really have the time
to get it in my fingers..
anyway, thanks for the tips.
i'll have a