PDA

View Full Version : Conditions



bdshan
05-12-2006, 11:21 AM
Hi.

I am trying to create a condition that evaluates two string version numbers. I need to know if the user is upgrading from a previous version.

8.1.000.000 = new version
7.5.500.250 = old version

I'd like my condition to evaluate to true when the old version is less than the new version. How can I build this condition?

Thanks

RobertDickau
05-12-2006, 11:39 AM
The StringUtils class (see the MultiPlatform API docs) has a compareVersionStrings methods that should be of use.