in reply to extracting numbers with a regex
The conversion from strings to numbers is automagic, though you could write: $VAR1 = ['M4568-51', 'M', 0 + '4568', 0 + '51' ]; to force the conversion.
Can you post a fragment of code that demonstrates the problem?
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: extracting numbers with a regex
by Fastolfe (Vicar) on Dec 05, 2001 at 11:25 UTC |