Results 1 to 4 of 4

Thread: String data types

  1. #1

    Thread Starter
    Hyperactive Member Knowledge_is_Et's Avatar
    Join Date
    Dec 2001
    Location
    An Oak.
    Posts
    305

    String data types

    I've always thought you could only use character arrays, but now I'm seeing a lot of string data types being passed to my methods and subs. What are they, and how do I use them?
    Now returning to the world of VB. Please make sure your seatbelts are securely fastened and all trays are in their upright and locked position.

  2. #2
    Monday Morning Lunatic parksie's Avatar
    Join Date
    Mar 2000
    Location
    Mashin' on the motorway
    Posts
    8,169
    It's the standard library string class. It's been mentioned many times around the forum, but a search on Google will point you in the right direction
    I refuse to tie my hands behind my back and hear somebody say "Bend Over, Boy, Because You Have It Coming To You".
    -- Linus Torvalds

  3. #3

    Thread Starter
    Hyperactive Member Knowledge_is_Et's Avatar
    Join Date
    Dec 2001
    Location
    An Oak.
    Posts
    305
    Great, thanks!
    Now returning to the world of VB. Please make sure your seatbelts are securely fastened and all trays are in their upright and locked position.

  4. #4
    jim mcnamara
    Guest
    OLE strings (VB strings) are BSTR. They are not string class.
    They consist of a descriptor (long with the length of the string in bytes) before a character data area in memory. These can contain multiple null characters, which other strings cannot have in them.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width