Answers for "vba remove spaces"

VBA
0

vba remove spaces

Dim s As String
s = "  abc  "
Debug.Print "|" & LTrim(s) & "|"         ' |abc  |
Debug.Print "|" & RTrim(s) & "|"         ' |  abc|
Debug.Print "|" & Trim(s) & "|"          ' |abc|
Posted by: Guest on February-13-2021

Code answers related to "VBA"

Browse Popular Code Answers by Language