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 type Integer. |
Return value
Returns a string of number spaces.
Exception
Error Number | Condition |
5 | if Number <0 |
Sample
public Sub Main() Dim x x="Welcome to VTL World " x=x & StringSpace(10) & x AlertMessage(x) End Sub
See Also