J
John
Hi
Why can't I use Right and Left string functions in vb anymore?
Thanks
Regards
Why can't I use Right and Left string functions in vb anymore?
Thanks
Regards
SurturZ said:You can but in a Windows Form they get shadowed by the .Left and
.Right properties of the form. It's quite annoying.
You have a few options:
1) (my preferred) Use Mid() instead
2) Type Microsoft.VisualBasic.Left("abcdef",1) instead
3) Create a function VBLeft() which calls Microsoft.VisualBasic.Left
Right() is the one you'll miss.
SurturZ said:You can but in a Windows Form they get shadowed by the .Left and .Right
properties of the form. It's quite annoying.
You have a few options:
1) (my preferred) Use Mid() instead
2) Type Microsoft.VisualBasic.Left("abcdef",1) instead
3) Create a function VBLeft() which calls Microsoft.VisualBasic.Left
Herfried K. Wagner said:I simply qualify the function call with the module containing it:
'Strings.Left'.