string access
Visual Basic
2
Posts
2
Posters
0
Views
1
Watching
-
this is really stupid, but how do I access one character from a string. in C++ it looks like: stringvar[5] :-D when I try it in VB stringvar(5) :~ it says that it expects and array. but I can't declare an array of characters which is what I need. :wtf: ICXC NIKA
-
this is really stupid, but how do I access one character from a string. in C++ it looks like: stringvar[5] :-D when I try it in VB stringvar(5) :~ it says that it expects and array. but I can't declare an array of characters which is what I need. :wtf: ICXC NIKA
Try: onechar = Mid(stringvar,startpos,numchars) Instead of marrying again, I think I'll just find a woman I don't like very much and give her a house...