Usage
Function ZAP.Common.StringConcat (
String String1,
String String2,
String String3 [Optional],
String String4 [Optional]
)
ZAP Utility
ZAP.Com..Concat
string1
string2
string3
string4
resultString
String String1
String String2
String String3
String String4
Output Parameter
Parameters
String1
Type: String
String 1
String2
Type: String
String 2
String3 (Optional)
Type: String
String 3
String4 (Optional)
Type: String
String 4
Returns
Result of string concatenation
Example
VBScript
helloMessage = Zap.Common.StringConcat("Hello, ", "user!")
Zap.Common.ShowMessageBox helloMessage
' use optional parameters
helloMessage = Zap.Common.StringConcat("Hello, ", "user! ", "Thank you for using ", "ZAPTEST!")
Zap.Common.ShowMessageBox helloMessage
JavaScript
var helloMessage = Zap.Common.StringConcat("Hello, ", "user!");
Zap.Common.ShowMessageBox(helloMessage);
// use optional parameters
helloMessage = Zap.Common.StringConcat("Hello, ", "user! ", "Thank you for using ", "ZAPTEST!");
Zap.Common.ShowMessageBox helloMessage
ZAP Utility
Zap.Com..Concat
Hello
user!
text
ZAP Utility
Zap.Common..Box
Zap.Var..."text")

Comment
Concat string and save it to variable parameter and show result in message box