SpOOki Posted February 12, 2007 Share Posted February 12, 2007 Hi, I would like ask about something. How I can cut the several char 'zero' from prefix of some string. I don't know never how is the number of zero in the prefix. Example of string is 000111.12 and i would like to get 111.12. Please, help me! Regards, SpOOki Link to comment Share on other sites More sharing options...
xcal Posted February 12, 2007 Share Posted February 12, 2007 $string = '000111.12' MsgBox(0, 'this is a string', $string) $number = Number($string) MsgBox(0, 'this is a number', $number) How To Ask Questions The Smart Way Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now