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

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 the spaces from it.

Return value

No returned value.

Sample

 Public Sub main ()

 Dim STR

 STR =”HELLO”
 StringTrim (STR)

 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