Creating a String from Other Variables

I have five questions (variables) from which I want to created a concatenated string variable with a specified format. I inserted a variable of type string

dob is Date of Birth
I also want to convert the Child_Letters and Mother_Letters variables to upper case

I tried to create the desired string variable using the following but it does not work. can you help?

CountryCode + “/” + comm_code + “/” + ToUpper(Child_Letters) + “/” + ToUpper(Mother_Letters) + “/” + dob


you are using the “ToUpper”: () method incorrectly.
Not ToUpper(something) , but: something.ToUpper() .

All questions in the above must be of string type.
If not, use the “ToString()”: () method.

Best, Sergiy

1 Like