> > "F:\All Risk
> > Training\modules\serviceInterruption\serviceInterruption.cst"
>
> The itemDelimiter = "\"
> delete the last item of...
Or to see that in the new MX'04 Lingo dot-syntax:
tStr = "F:\All Risk
Training\modules\serviceInterruption\serviceInterruption.cst"
_player.itemDelimiter = "\"
delete tStr.item[tStr.item.count]
put(tStr)
-- "F:\All Risk Training\modules\serviceInterruption"
Or in JavaScript syntax:
// remember to escape all backslash characters in JS!
var tStr = "F:\\All Risk
Training\\modules\\serviceInterruption\\serviceInterruption.cst";
var tLast = tStr.lastIndexOf("\\");
tStr.slice(0,tLast);
trace(tStr);
// F:\All Risk Training\modules\serviceInterruption
Cheers,
Tom Higgins
Product Specialist - Director Team
Macromedia
Director MX 2004 - NOW SHIPPING!
Industrial-Strength Multimedia
www.macromedia.com/software/director
...
[To remove yourself from this list, or to change to digest mode, go to
http://www.penworks.com/lingo-l.cgi To post messages to the list, email [EMAIL
PROTECTED] (Problems, email [EMAIL PROTECTED]). Lingo-L is for learning and helping
with programming Lingo. Thanks!]