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
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
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
Wow... glad I stumbled over this post. Thank you Herfried. I've been doing
Microsoft....yada.Left() for years in WinForms modules and never really
realized the Strings.Left() option. Much more elegant! Thanks!
Ask a Question
Want to reply to this thread or ask your own question?
You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.