If I have two variables, I wish to compare one to the other, the problem is that the fist variable will contain value "1.1.2" the second will be "1.1"
How do I test for a match within the first two digits? The first variable can be quite long, like 1.1.2.1 etc, but I only want to check that the first two digits are the same as the second variable, regardless of how many digits the first variable has.
thanks in advance
In reply to Regex question by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |