|
-
Jun 24th, 2002, 03:23 PM
#1
Thread Starter
Hyperactive Member
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.
-
Jun 24th, 2002, 04:21 PM
#2
Monday Morning Lunatic
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
-
Jun 24th, 2002, 04:27 PM
#3
Thread Starter
Hyperactive Member
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.
-
Jun 24th, 2002, 04:38 PM
#4
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
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|