Knowledgebase:
StringAdd
Posted by Mohammad Rahhal, Last modified by Rawan Al Hourani on 06 July 2017 09:35 AM

Syntax

Public Function StringAdd(ByRef stringVar As Variant, subString As Variant) As String

This function is used to add a substring to the end of a specific string.

Parameters

Key Description 
stringVar Source string that want to concatenation it with other string,value of type Variant
subString String that is added at the end of source string,value of type Variant.

Return value

Returns the concatenation of both strings.

Sample

Public Sub main()

Dim x,y  

x="hello " 

y="vertex" 

AlertMessage StringAdd(CSTR(x),CSTR(y)) 

' The result of the Alert Message will be hello vertex 

End Sub


See Also


Back to VTL Client Script Index

(1 vote(s))
Helpful
Not helpful

Comments (0)
Post a new comment
 
 
Full Name:
Email:
Comments:
CAPTCHA Verification 
 
Please enter the text you see in the image into the textbox below (we use this to prevent automated submissions).

Help Desk Software by Hybrid Solutions