CharArrayToString
Posted by Mohammad Rahhal, Last modified by Diana Alkouni on 25 August 2020 09:35 AM

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 of characters to be converted. Value of type is Variant.
Start Position to start from. Value of type is Integer.
ToIndex Position to end to. Value of type is Integer.

Return value

Returns the concatenation char as value of type String.

Sample

 Public Sub Main() 

      Dim Arr (5)
      Arr (1) = 1
      Arr (2) = 2
      Dim STR
      STR =CharArrayToString (Arr, 0, 2)

      AlertMessage (STR)

  End Sub

See Also


Back to VTL Client Script Index

(0 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