Quantcast
Viewing all articles
Browse latest Browse all 21366

VB6 string format problem need your help

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?

Viewing all articles
Browse latest Browse all 21366

Trending Articles