Posted by tomhawkins1 on 05/03/06 23:03
I can never seem to get these to do what I want and it should be simple
as far as I can tell! I need to check to see if a variable of mine has
been submitted in the correct format.
The 'correct' format is either
1. 8-15@113.5
ie a number (an integer between 1 and 500 say), followed by one '-'
followed by a number (an integer between 1 and 500 say), an @ and a
number to end (a float between 1 and 10000 say), or
2. 43@226 ie without the first '8-'
Any guidance as I'm tearing my hair out.!?
Thanks
Tom
Navigation:
[Reply to this message]
|