|
#1
|
|||
|
|||
|
Suggestion: compare versions with different delimiters
Hi,
using SUF 8.1.1006.0 Our company product versions look like "xx.xx-zz", sometimes "xx.yy-zz.aa". To compare I use String.CompareFileVersions, but I have to replace "-" to "." before. My suggestion is to have String.CompareFileVersions with a third optional parameter "Delimiter", with the default value ".". Prototype: number String.CompareFileVersions (string Version, string CompareTo, string Delimiter = "." ) Example for my case: Code:
compare_version = String.CompareFileVersions( "1.23-04", "1.23-05", ".-") -- compare_version results in -1 Udo |
![]() |
«
Previous Thread
|
Next Thread
»
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Compare File Versions - String to Number Problems | Dnixon | TrueUpdate 3.5 Discussion | 4 | 02-05-2008 12:23 PM |
| legacy files seem to behave wrong for multi versions | rjfioravanti | Visual Patch 3.5 Discussion | 1 | 11-12-2007 02:04 PM |
| Big issue while comparing versions | pedro arzac | TrueUpdate 2.0 | 6 | 11-15-2006 01:42 PM |
| Comparing File Versions | raynebair | Setup Factory 6.0 | 3 | 04-02-2004 09:41 AM |
| detecting versions of Reader and Powerpoint? | reinhat | AutoPlay Media Studio 4.0 | 9 | 09-03-2002 09:56 AM |
All times are GMT -6. The time now is 07:49 AM.








Linear Mode

