Convert variable to lowercase

Got a problem you cannot solve? Try here.
viponly
Posts: 8
Joined: Fri Jan 13, 2006 12:48 pm

Convert variable to lowercase

Postby viponly » Fri Jan 13, 2006 12:51 pm

I'm reading a value in the registry and putting it in to a variable. I need to convert the value in the variable to all lower case. How can I do it with InstallAware? Thanks.

MichaelNesmith
Posts: 3452
Joined: Thu Dec 22, 2005 7:17 pm
Contact:

Postby MichaelNesmith » Fri Jan 13, 2006 2:15 pm

There is no easy way to do this...sorry.
What will you be using this variable name with? Remember that file names, etc. are not case sensitive.
That said if you need to replace specific characters you could do so using the Replace String command. You could even write an include script to replace every character in the alphabet with its lower case counterpart...and use that to achieve your task. But there is no pre-built function...
Michael Nesmith
InstallAware
Home of The Next Generation MSI Installer
Get your free copy today - http://www.installaware.com/


Return to “Technical Support”

Who is online

Users browsing this forum: No registered users and 142 guests