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