I need to add two numbers together, unfortunately one of them is a
string that starts with a character. I'd like to convert a string
such as 'x5' to the number 5. Don't care about it's final type as
that isn't the hard part. :) I can't find a function to do this. I
looked in the math class and in the string class and there doesn't
seem to be something to help. I, of course, could write something to
handle it but I would prefer to use something built in. Any help
would be appreciated.
Thanks,
Keith
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php