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
Printable View
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
mid()
Syntax
Mid(stringvar, start[, length]) = string
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.
To eliminate characters from a string, try the Replace function. The equivalent of substr in vb =instr
If its a string use Mid$.
Replace works in VB6 only.