TRIM
The effect of TrimDim iHaveLoadsOfWhiteSpace As StringiHaveLoadsOfWhiteSpace = "       GET A LOAD OF MY WHITE SPACE   "Con...
Upcoming SlideShare
Loading in …5
×

Trimming text

232 views

Published on

Published in: Education
  • Be the first to comment

  • Be the first to like this

Trimming text

  1. 1. TRIM
  2. 2. The effect of TrimDim iHaveLoadsOfWhiteSpace As StringiHaveLoadsOfWhiteSpace = " GET A LOAD OF MY WHITE SPACE "Console.WriteLine(iHaveLoadsOfWhiteSpace)Console.WriteLine(iHaveLoadsOfWhiteSpace.Trim) All the leading and trailing white space is removed

×