mIRC Home    About    Download    Register    News    Help

Print Thread
#167714 29/12/06 03:29 AM
Joined: Feb 2003
Posts: 3,432
S
sparta Offline OP
Hoopy frood
OP Offline
Hoopy frood
S
Joined: Feb 2003
Posts: 3,432
I trying to remove some parts of a path, the problem i have is that the path maybe arent the same all the time, this is what i get from a %var:

%mp3 J:\Mp3\ACDC\(1974) ACDC - 74 jailbreak (5-tracksRem)\01. ACDC - jailbreak.mp3

now i want to remove the text J:\Mp3\ACDC\(1974) ACDC - 74 jailbreak (5-tracksRem)\

but the text could also be: J:\Mp3\01. ACDC - jailbreak.mp3

any way i can do that?


if ($me != tired) { return } | else { echo -a Get a pot of coffee now $+($me,.) }
sparta #167715 29/12/06 03:31 AM
Joined: Feb 2003
Posts: 810
C
Hoopy frood
Offline
Hoopy frood
C
Joined: Feb 2003
Posts: 810
$nopath(%var)


* cold edits his posts 24/7
cold #167716 29/12/06 03:32 AM
Joined: Feb 2003
Posts: 3,432
S
sparta Offline OP
Hoopy frood
OP Offline
Hoopy frood
S
Joined: Feb 2003
Posts: 3,432
thnx, forgot about that one. smile


if ($me != tired) { return } | else { echo -a Get a pot of coffee now $+($me,.) }

Link Copied to Clipboard