Just simple create one assign activity, then var = “ “, one space inside double quote.
run it and get error message:
By using Studio Community, version 2024.10.1
By using Studio Community, version 2024.10.1
same, when I change the name of var to var2, or x, or else.
Ok let me try reproducing it. It’s weird error. ![]()
Ohh wait!! you have used it incorrectly in Write line. It should be "["+var+"]"
Hi @KennyLee
It not works for you, instead of initializing the space better to initialize the variable with String.Empty.
- Assign -> var = String.Empty
- Assign -> Ouput = "["&var&"]"
Check the below image for better understanding,
Hope it helps!!
In my test, empty string is OK, error when one space, or two space…
For var2 = " " + " "
It is OK
Thanks to all of your “workaround” solution, but I just want to report it’s a “bug”.
This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.