About Trim

  • Thread starter Thread starter Guest
  • Start date Start date
Kenny M. said:
What is the best practice

Trim (myStringvar)

or

myStringvar.Trim

It' up to personal preference. Make sure that you are not mixing VB's
string functions with those of the .NET Framework. VB's own functions work
with 1-based indices, the functions in the .NET Framework with 0-based
indices.
 
thks

Herfried K. Wagner said:
It' up to personal preference. Make sure that you are not mixing VB's
string functions with those of the .NET Framework. VB's own functions work
with 1-based indices, the functions in the .NET Framework with 0-based
indices.
 

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.

Ask a Question

Back
Top