Knowledgebase : Technical Support > API > Client API's/VTL > VTL Client Scripts > String Functions
SYNTAX Public Function CharArrayToString(ByVal Ary As Variant, Start As Integer, toIndex As Integer) As String This function is used to convarte a part of an array of type char to string. PARAMETERS Key Description  Ary Array of char...
SYNTAX Public Function CharToString(ByVal char_code As Long) As String This function is used to convarte the given ASCII char code to String. PARAMETERS Key Description  Char_code ASCII code range [0-255]. Value of type is Long RETU...
SYNTAX Public Function StringSpace(number As Integer) As String This function is used to add a number of spaces that you want to have in the string. PARAMETERS Key Description  number Number of spaces to be added ,value of type Integ...
SYNTAX. Public Function StringReverse(str As String) As String This function is used to get a given text in inverse order. PARAMETERS Key Description  str A string value to be reversed,value of type String RETURN VALUE Returns a st...
SYNTAX Public Function StringReplace(expression As String, Find As String, replaceText As String) As String This function is used to replace a sub string with another sub string in a text of string. PARAMETERS Key Description  expression...
SYNTAX Public Function StringFind(stringValue As String, subString As String, Optional startPos As Integer = 1) As Integer This function is used to search for a sub string in a text of string. PARAMETERS Key Description  stringValue S...
SYNTAX Public Function StringGetCharacter(stringValue As String, pos As Integer) As String This function is used to return a character from a text string at the specific position. PARAMETERS Key Description  stringValue String value t...
SYNTAX Public Function StringSubstr(stringVar As String, startPos As Integer, Optional Strlengh As Integer = -1) As String This function is used to return a substring from a text starting from the specific position. PARAMETERS Key Descriptio...
SYNTAX Public Function StringToUpper(ByRef stringVar As String) As Boolean This function is used to transform a given string into upper case. PARAMETERS Key Description  stringVar String value to change to upper case. RETURN VALUE ...
SYNTAX Public Sub StringTrim(ByRef stringVar As String) This sub procedure is used to remove the spaces on both sides(left and right) of a given string. PARAMETERS Key Description  stringVar String value that want to remove the spaces...
SYNTAX Public Sub StringTrimRight(ByRef stringVar As String) This sub procedure is used to remove the blank spaces on the right side of a given string. PARAMETERS Key Description  stringVar String value that want to remove the right b...
SYNTAX Public Sub StringTrimLeft(ByRef stringVar As String) This sub procedure is used to remove the blank spaces on the left side of a given string. PARAMETERS Key Description  stringVar String value to remove the left blank space fr...
SYNTAX Public Function StringToLower(ByRef stringVar As String) As Boolean This function is used to transform a string into lower case. PARAMETERS Key Description  stringVar String to transform to lower case. RETURN VALUE Returns t...
SYNTAX Public Function StringConcatenate(ByRef stringVar As Variant, ParamArray args() As Variant) As Integer This function is used for joining strings end - to - end, The concatenated string value is saved in stringVar. PARAMETERS Key Descr...
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 co...
Help Desk Software by Hybrid Solutions