StringGetCharacter
Posted by Mohammad Rahhal, Last modified by Diana Alkouni on 14 September 2020 01:00 PM

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 String value to get the char from it.
pos The position of character in the source string,value of type Integer.

Return value

Returns the character in the position that we determined.

Sample

 Public Sub main ()

 Dim STR

 STR =”hello at vtl”

 AlertMessage StringGetCharacter (STR, 2)

 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