Value @ symbol question

I am trying to compress files to a zip. As part of the path/file name, i use an string variable (AlphaNumericBatch) to show the batch information for this compressed file. The Assign for AlphaNumericBatch keeps causing it to fail because it is a string + an assign (“FA” +InvoiceNumber) and when i run the output the Value shows the @ symbol in front of it. Not sure what that means.

If i remove the +Invoice and compress the file using just “FA” in the file name, not problems. THoughts?

image

Hi @atarantino ,

The @ sign simply tells us that its a String Text, nothing more or less i.e. its not a part of the string but just a representation.

If it fails, there is a chance that there are some newlines/carriage returns in the variable, which can be easily eliminated using the Trim Method.

Also, when you are assigning it to a filepath, you should also make sure to add an extra backslash like so →

FolderPath+"\"+AplhaNumericBatch.Trim

Could you give that a try and let us know?
Also, we would appreciate it if you could share a snapshot of the error in case it occurs again.

Kind Regards,
Ashwin A.K

@ before the string is not part of the string
have a look here:

Exactly what I needed. Thank you for clarifying and also giving me a solution. Much appreciated.

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.