Convert variable to lowercase
Posted: Fri Jan 13, 2006 12:51 pm
by viponly
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.
Posted: Fri Jan 13, 2006 2:15 pm
by MichaelNesmith
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...