in reply to convert string of chars and numerics to a numeric value

How do you get from 'smpl95' to 342 (and similarly for your other example values)? If that is not an appropriate mapping,perhaps you could provide a few clearer examples. It would also help a lot if you provided a little more information about what you are trying to achieve and the code that you have tried so far.

Update: note that making a significant change to your node contents without indicating that it has been updated is generally frowned on. Nice to see some code has been added and the question clarified a little, but please show that as an update.


DWIM is Perl's answer to Gödel
  • Comment on Re: convert string of chars and numerics to a numeric value