At 03:40 PM 4/28/02 +0200, Rene Verharen wrote: >Where can I find some information on how to convert a alphanumeric string >to a number ?
Perl does this automagically when you use the variable in numeric context. >My problem : > > $waarde = "0073"; # The value in $waarde comes from a file > > needs to be converted to > > $waarde = 73; Rene, here's a little pgm and output to give you an example : $waarde = "0073"; print "waarde eq $waarde\n"; $waarde += 0; print "waarde eq $waarde\n"; >>>>>>>>>>>>> waarde eq 0073 waarde eq 73 Marty -- SIMPL-tm WebSite Creation: http://face2interface.com/Home/Demo.shtml Complementary Color Picker: http://face2interface.com/WebSafe -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]