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

Edwin,

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


Post Your Public Answer

Your name (required)
Your email address (required)
Answer (required)
support@mysurvey.solutions
http://assets0.desk.com/
false
desk
Loading
seconds ago
a minute ago
minutes ago
an hour ago
hours ago
a day ago
days ago
about
false
Invalid characters found
/customer/en/portal/articles/autocomplete?b_id=12728