Hi,
I found VB6 string format at the link:
http://www.vb6.us/tutorials/using-fo...string-formats
And I then tried:
Dim a As String
a = "abcde"
Print "---" & Format(a, "@@@") & "---"
Print "---" & Format(a, "!@@@") & "---"
I thought the output shold be
---abcde---
---abcde---
however, it was:
---abcde---
---cde---
Can you explain to me why?
I found VB6 string format at the link:
http://www.vb6.us/tutorials/using-fo...string-formats
And I then tried:
Dim a As String
a = "abcde"
Print "---" & Format(a, "@@@") & "---"
Print "---" & Format(a, "!@@@") & "---"
I thought the output shold be
---abcde---
---abcde---
however, it was:
---abcde---
---cde---
Can you explain to me why?