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.
 
Back
Top