Difference between string and string literals

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • James

    #1

    Difference between string and string literals

    just wondering if there was a difference, if so, could I see an
    example? Thanks.

  • Ibrahim Shameeque

    #2
    RE: Difference between string and string literals

    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"
    --
    ---------------------------
    Thanks,
    Ibrahim

    Software Consultant - Web Development, GB


    "James" wrote:
    just wondering if there was a difference, if so, could I see an
    example? Thanks.
    >
    >

    Comment

    Working...