Survey Solutions

Support portal and knowledge base

Name is required.
Email address is required.
Invalid email address
Answer is required.
Exceeding max length of 5KB

Creating a String from Other Variables

Edwin V St Catherine Jan 06, 2018 12:11AM EST

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

1 Community Answers

Best Answer
Sergiy Radyakin Jan 08, 2018 10:59AM EST


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

This question has received the maximum number of answers.
seconds ago
a minute ago
minutes ago
an hour ago
hours ago
a day ago
days ago
Invalid characters found