VBcoders Browse New Submit Contact Sign In

No account? Register free

Forgot password?

Trim all those EXTRA spaces

Brian Gillham  (7 Submissions)   String Manipulation   Visual Basic 3.0   Beginner   Wed 3rd February 2021

VB forgot to add a Function strip out all those LEADING, TRAILING and EXTRA spaces in ONE Function.
I have seen many attempts at doing this but think mine does it in the least amount of code.
Note: = literal SPACE

Inputs
String eg:Stripall

Returns
Stripall

Rate Trim all those EXTRA spaces (6(6 Vote))
Trim all those EXTRA spaces.bas

Trim all those EXTRA spaces Comments

No comments yet — be the first to post one!

Post a Comment

0/1000 characters