on 06-23-2011 4:10 PM
Hello,
how can I concatenate string variables in the 'Assigned variable' (from an Input Field)?
For example:
if (@From0!='' and @To0=='',@From0 + : + @From0, @From0 + : + @To0)
I've tried to concatenate them with the + symbol but I get a mistake.
Thanks in advance.
Regards.
Hi,
String concatenation is done by & and " " in VC. (& and double quotes " ")
for example, in your case it will be
if (@From0!=' ' and @To0==' ',@From0&" : "&@From0, @From0 &" : "& @To0)
that is---- assigned value & " <string>" & assigned value.
@From0 & " : " & @To0
Thanks,
Pradeep
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
If I am correct, the concatenation is only available for TEXT fields. The sign is not "+", but "&"
Hope it helps
PY
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
101 | |
13 | |
13 | |
11 | |
11 | |
7 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.