J
Jesper
Hi
I'm trying to use regxp instead of split but I'm having some newbie troubles
with it. What I really want to accomplish is cutting the string:
"hello/world/I/am/a/newbie"
into:
"hello" and "world/I/am/a/newbie"
The problem is that the number of backslashes in the string varies from 3 to
? so I can't really make a regxp that does
m/(.*\/)(.*\/)(.*\/)(.*\/)(.*\/)/. Could anyone please help me ?
Regards, jesper
I'm trying to use regxp instead of split but I'm having some newbie troubles
with it. What I really want to accomplish is cutting the string:
"hello/world/I/am/a/newbie"
into:
"hello" and "world/I/am/a/newbie"
The problem is that the number of backslashes in the string varies from 3 to
? so I can't really make a regxp that does
m/(.*\/)(.*\/)(.*\/)(.*\/)(.*\/)/. Could anyone please help me ?
Regards, jesper