Skip to content

How to concatenate alphanumeric values

This example demonstrates concatenation of alphanumeric values.

In the solution below, you will see that three values are concatenated using the "concatenate" command and stored into a variable.

Solution:

# Command Target Value
Concatenate the list of values
1 concatenate 123,456,789 result

Tips, Tricks, Gotchas & Best Practices:

  • The list of numeric values passed are to be separated by a comma(,) and there shouldn't be any spaces before or after the comma.
  • You can concatenate the string values by enclosing them in double quotes, ex: "abc","xyz".Please note single quotes are not allowed.
  • You can concatenate alpha numeric string values with or without enclosing in double quotes.
  • As a best practice, it is always advisable to define the variable names without any spaces and if you want to differentiate the words, use underscores.


Feedback and Knowledge Base