radhika wrote:
> Hi,
> My string looks like this B=99.99+
>
> I have split this to just get the 99.99+ part.
> How can I get the $1 to be numeric and $2 to just contain the +.
>
Assume could be minus so did for plus or minus and has the b= or
whatever:
if ( /^.=([^+\-]+)(.)/ ) {
Hi,
My string looks like this B=99.99+
I have split this to just get the 99.99+ part.
How can I get the $1 to be numeric and $2 to just contain the +.
Thanks,
Radhika
--
It is all a matter of perspective. You choose your view by choosing where
to stand.
Larry Wall
---
--
To unsubscribe, e-mai