Difference between string and string literals

  • Thread starter Thread starter James
  • Start date Start date
Hi
String is a datatype and string literal is the information stored in this
datatype. Any literals enclosed within "". Ex
Dim str as string 'DataType
str = "This is a string literal" & vbcrlf & _
"which is two lines long"
--
 
Back
Top