|
-
Sep 30th, 2000, 02:49 PM
#1
Thread Starter
Junior Member
is it there an equivalence of (substr()) for visual basic
I need to elimenate characters from a string, I couln´t use this function in VB I dont know if it only works in visual C or what do I need to make it work.
Thaks
-
Sep 30th, 2000, 03:21 PM
#2
Addicted Member
-
Oct 1st, 2000, 06:56 PM
#3
New Member
Syntax
Mid(stringvar, start[, length]) = string
-
Oct 2nd, 2000, 12:25 AM
#4
Addicted Member
Your're right, J_BEYTIA. I only provided the name of the function to refer to VB Help where one can easily find the detail of its usage and syntax.
-
Oct 2nd, 2000, 04:25 AM
#5
New Member
re: substr
To eliminate characters from a string, try the Replace function. The equivalent of substr in vb =instr
-
Oct 3rd, 2000, 11:50 AM
#6
If its a string use Mid$.
Replace works in VB6 only.
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
|