Hi,
I can't get this to work. I simply like to return all characters in front of '>' in a string to a new string.
I tried it with $& which worked in a simple testing script but not in the actual script where I have to use it.
so I tried things like for example:
$original = "before>after";
$myString = $original;
$myString =~ /(^.*>)/;
it doesn't return anything!
Can anyone show me how to do this?
Thanks,
Ron
I can't get this to work. I simply like to return all characters in front of '>' in a string to a new string.
I tried it with $& which worked in a simple testing script but not in the actual script where I have to use it.
so I tried things like for example:
$original = "before>after";
$myString = $original;
$myString =~ /(^.*>)/;
it doesn't return anything!
Can anyone show me how to do this?
Thanks,
Ron