Formatting version number

I have a property set with the version number parameters and I want to create a string of the following format:

Major.Minor.Realease
00.00.0000

e.g: 08.00.0016 for version 8.0.16

How can I format the number to have a spefic number of zero for padding?  I tried the action PropertySet to variable but I'm only able to specify a number of padding 0 for all the variable (eg: 00.00.00)

Thanks,

 

David Brillon

Hi David,

The String Padding action allows you to pad a variable’s contents to a certain length. The only problem is that it’s a little fiddly, because you’ll have to use separate variables for each version number.

Please let us know if you’d like to see a sample project.

Regards,

Angus

Hi,

I have this same problem right now.

Are you still able to show an example project?

 

Tranks,

Fréderick

 

EDIT: It's ok... I found the solution already.