Skip to main content
Feedback

JavaScript: Concatenate two values

This sample JavaScript custom scripting function combines first and last names separated by a space. Simple concatenations can also be accomplished with the standard String Concat function.

CategoryDetails
Inputs• firstName (Character)
• lastName (Character)
Outputs• result
Scriptresult = firstName + " " + lastName;