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 DESCRIPTION This function is used to convert a part of an array of type char to string. PARAMETERS Key Description  Ary Array ...
SYNTAX Public Function CharToString(ByVal char_code As Long) As String DESCRIPTION This function is used to convert the given ASCII char code to String. PARAMETERS Key Description  Char_code ASCII code range [0-255]. Value of type is Lon...
SYNTAX  Public Function StringSpace(number As Integer) As String DESCRIPTION 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 t...
SYNTAX Public Function StringReverse(str As String) As String DESCRIPTION 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 Retur...
SYNTAX Public Function StringReplace(expression As String, Find As String, replaceText As String) As String DESCRIPTION This function is used to replace a sub string with another sub string in a text of string. PARAMETERS Key Description  e...
SYNTAX Public Function StringFind(stringValue As String, subString As String, Optional startPos As Integer = 1) As Integer DESCRIPTION This function is used to search for a sub string in a text of string. PARAMETERS Key Description  stringV...
SYNTAX Public Function StringGetCharacter(stringValue As String, pos As Integer) As String DESCRIPTION This function is used to return a character from a text string at the specific position. PARAMETERS Key Description  stringValue Strin...
SYNTAX Public Function StringSubstr(stringVar As String, startPos As Integer, Optional Strlengh As Integer = -1) As String DESCRIPTION This function is used to return a substring from a text starting from the specific position. PARAMETERS Key D...
SYNTAX Public Function StringToUpper(ByRef stringVar As String) As Boolean DESCRIPTION This function is used to transform a given string into upper case. PARAMETERS Key Description  stringVar String value to change to upper case. RETURN...
SYNTAX Public Sub StringTrim(ByRef stringVar As String) DESCRIPTION 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 t...
SYNTAX Public Sub StringTrimRight(ByRef stringVar As String) DESCRIPTION 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 th...
SYNTAX Public Sub StringTrimLeft(ByRef stringVar As String) DESCRIPTION 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...
SYNTAX Public Function StringToLower(ByRef stringVar As String) As Boolean DESCRIPTION This function is used to transform a string into lower case. PARAMETERS Key Description  stringVar String to transform to lower case. RETURN VALUE R...
SYNTAX Public Function StringConcatenate(ByRef stringVar As Variant, ParamArray args() As Variant) As Integer DESCRIPTION This function is used for joining strings end – to – end, The concatenated string value is saved in stringVar. PARAMETERS Key...
SYNTAX Public Function StringAdd(ByRef stringVar As Variant, subString As Variant) As String DESCRIPTION This function is used to add a substring to the end of a specific string. PARAMETERS Key Description  stringVar Source string that w...
Help Desk Software by Hybrid Solutions